Search notes:

System.Management.Automation.ActionPreference (enum)

System.Management.Automation.ActionPreference enumerates the possible values for PowerShell preference variables related to the Powershell cmdlet verb write:

Values

This enum has the following values
Name Value Displays (error?) message Continues execution Comments
SilentlyContinue 0 Messages are suppressed, and execution continues. Default for $informationPreference and $verbosePreference
Stop 1 Stops execution
Continue 2 Display (error...) and continue. Default for $errorActionPreference and $warningPreference.
Inquire 3 User is prompted for response on how to continue
Ignore 4 Intended for per-command use. The «event» (error etc.) is ignored and not recorded in the respective stream.
Suspend 5 Not valid for $errorActionPreference
Break(?) ? ? ? New in newer version of .NET?
What exactly is the difference between SilentlyContinue and Ignore?
In PowerShell, it's possible to retrieve these values with
[System.Enum]::GetValues('System.Management.Automation.ActionPreference').foreach({
   write-host $_.ToString() $_.value__
})

See also

The common parameter -errorAction.
The PowerShell preference variable $verbosePreference.

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Microsof...', 1758206649, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Microsoft/dot-net/namespaces-classes/System/Management/Automation/ActionPreference(70): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78