CmdID / PowerShell / Cmdlets / Set
Set-InsightsCapabilityAction
Sets a remediation action that is tied to a prediction result. Windows Server PowerShell reference
From the Windows Server PowerShell reference 8 parameters Its page in the reference
Parameters
-ActionSpecifies the path of a PowerShell script, as well as any arguments, to be run if the capability outputs the associated prediction status.-ActionCredentialSpecifies the credential used to run the action.-ComputerName, -CNSpecifies a fully qualified domain name (FQDN).-Confirm, -cfPrompts you for confirmation before running the cmdlet.-CredentialSpecifies the credential for accessing the computer specified by the -ComputerName parameter.-Name, -NSpecifies a capability using a capability name.-TypeSpecifies the prediction status of the capability.-WhatIf, -wiShows what would happen if the cmdlet runs.