Windows PowerShell Cheat Sheet - Gary Lapointe
Windows PowerShell Cheat Sheet Copyright 2013 Aptillon, Inc. | Category Description Examples Variable Precede all variable names with $ $variableName = "variable value" Automatic Variables Variables that are created at runtime based on context. Variable Description $true A TRUE value. $false A FALSE value. $null A null value. $() Sub-expression. Variable Description $_ The current object in a pipeline operation. $? Last operation execution status. $Error Array of error objects ($Error[0] is last error). $LastExitCode Contains the last executable program s exit code. Operators Traditional equality, comparison, and logical operators cannot be used (except for ! ). == != < <= > >= && || ! & | ^ -eq -ne -lt -le -gt -ge -and -or -not (or !) -band -bor -xor Escape Character Use the backward tick to escape special characters such as quotes and the dollar sign.
Title: Windows PowerShell Cheat Sheet Author: Gary Lapointe Subject: Cheat Sheet Keywords: PowerShell, SharePoint, Quick Reference, Cheat Sheet Created Date
Download Windows PowerShell Cheat Sheet - Gary Lapointe
Information
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
Related search queries
CLONING A VIRTUAL MACHINE IN ORACLE VM, CLONING A VIRTUAL MACHINE IN "ORACLE VM, WINDOWS.." HOST, Host Checker Deep Clean Guide, Host Checker “Deep Clean” Guide, WINDOWS 7700, Windows, Connect the printer to your computer, WINDOWS HOST, Windows 7 Keyboard Shortcuts, Windows Core FTP Setup Instructions, New York City, Oracle, VIRTUALBOX ORACLE, VirtualBox