Assembly: System.Management.Automation (in System.Management.Automation.dll)
|Continue||Handle this event as normal and continue.|
|Ignore||Ignore the event completely (not even logging it to the target stream).|
|Inquire||Ask whether to stop or continue.|
|SilentlyContinue||Ignore this event and continue.|
|Stop||Stop the command.|
|Suspend||Suspend the command for further diagnosis. Supported only for workflows.|
The actions that the Windows PowerShell runtime takes are also referred to as policies. For example, if a cmdlet ErrorAction parameter is set to SilentlyContinue, the cmdlet runs under a SilentlyContinue policy.