suggest change
Get-Process -Name doesnotexist
Write-Host -Object "Was the last operation successful? $?"

Contains the execution status of the last operation. It contains TRUE if the last operation succeeded and FALSE if it failed.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:


Built-in variables:
* Args
* PSItem
*
* error

Table Of Contents
1 Loops
19 XML
22 Strings
25 Aliases
47 MongoDB
56 Built-in variables
65 AWS S3