Search notes:

PowerShell: common parameter -errorAction

The value given with the common parameter -errorAction sets the value of the preference variable $errorActionPreference in the scope of the cmdlet.
This value can be set to any member of the System.Management.Automation.ActionPreference enum.
-errorAction can be a abbreviated with -ea.

Index