// PowerShell keywords // constant: color Black Red Green Yellow Blue Magenta Cyan White // constant: time Sunday Monday Tuesday Wednesday Thursday Friday Saturday // constant: time format GeneralDate LongDate ShortDate LongTime ShortTime // constant: extra ObjectError // constant: MsgBox OKOnly OKCancel AbortRetryIgnore YesNoCancel YesNo RetryCancel Critical Question Exclamation Information DefaultButton1 DefaultButton2 DefaultButton3 DefaultButton4 ApplicationModal SystemModal OK Cancel Abort Retry Ignore Yes No // constant: string Cr CrLf FormFeed Lf NewLine NullChar NullString Tab VerticalTab // constant: tristate UseDefault True False // constant: VarType Empty Null Integer Long Single Double Currency Date String Object Error Boolean Variant DataObject Decimal Byte Array // function Abs Array Asc Atn [bool] [byte] [decimal] [datetime] [double] [char] [int] [long] [math]::Cos New-Object [float] [string] Get-Date Add-Date Add Compare-Date Get-DatePart New-Date Get-DateValue Get-Day Invoke-Expression [math]::Exp Filter [math]::Floor Format-Currency Format-DateTime Format-Number Format-Percent Get-Culture Get-Object Get-Ref [convert]::ToHexString Get-Hour Read-Host Select-String [int]::Parse Is-Array Is-Date Is-Empty Is-Null Is-Numeric Is-Object Join-String Get-LowerBound To-Lower Substring Get-Length Load-Picture [math]::Log Trim-Left Substring Get-Minute Get-Month Get-MonthName Show-MessageBox Get-Date [convert]::ToOctalString Replace-String [convert]::ToRgb Substring [math]::Random [math]::Round Trim-Right Get-ScriptEngine Get-ScriptEngineBuildVersion Get-ScriptEngineMajorVersion Get-ScriptEngineMinorVersion Get-Second [math]::Sign [math]::Sin New-Object Split-String [math]::Sqrt Compare-String New-String Reverse-String [math]::Tan Get-Time [math]::Timer New-TimeSpan Get-TimeValue Trim Get-TypeName Get-UpperBound To-Upper Get-VarType Get-Weekday Get-WeekdayName Get-Year // object $Error $Error.Clear() $Error.Description $Error.HelpContext $Error.HelpFile $Error.Number $Error.Raise() $Error.Source [regex] // operator % (modulus) -eq (equals) -and (logical and) -not (logical not) -or (logical or) -xor (logical xor) // statement param function call, 2 switch, 2 class const default $variable do, 2 foreach, 2 else, 2 elseif, 2 end, 2 erase, 2 error, 2 invoke-command, 2 invoke-expression, 2 exit, 2 explicit, 2 for, 2 function get, 2 goto, 2 if, 2 in, 2 let, 2 loop, 2 new, 2 next, 2 on, 2 option, 2 preserve private property public randomize, 2 redim, 2 rem resume, 2 select, 2 set, 2 step, 2 sub then, 2 to, 2 until, 2 while, 2 with, 2 // keyword $null $false $true // command let Compress-Archive ConvertFrom-SddlString Expand-Archive Export-ODataEndpointProxy Find-Command Find-DscResource Find-Module Find-RoleCapability Find-Script Format-Hex Get-FileHash Get-InstalledModule Get-InstalledScript Get-OperationValidation Get-PSRepository Import-PowerShellDataFile Install-Module Install-Script Invoke-OperationValidation New-Guid New-ScriptFileInfo New-TemporaryFile Publish-Module Publish-Script Register-PSRepository Save-Module Save-Script Set-PSRepository Test-ScriptFileInfo Uninstall-Module Uninstall-Script Unregister-PSRepository Update-Module Update-ModuleManifest Update-Script Update-ScriptFileInfo Add-Computer Add-Content Add-History Add-LocalGroupMember Add-Member Add-PSSnapin Add-Type Checkpoint-Computer Clear-Content Clear-EventLog Clear-History Clear-Item Clear-ItemProperty Clear-RecycleBin Clear-Variable Compare-Object Complete-Transaction Connect-PSSession ConvertFrom-Csv ConvertFrom-Json ConvertFrom-SecureString ConvertFrom-String ConvertFrom-StringData Convert-Path Convert-String ConvertTo-Csv ConvertTo-Html ConvertTo-Json ConvertTo-SecureString ConvertTo-Xml Copy-Item Copy-ItemProperty Debug-Job Debug-Process Debug-Runspace Disable-ComputerRestore Disable-LocalUser Disable-PSBreakpoint Disable-PSRemoting Disable-PSSessionConfiguration Disable-RunspaceDebug Disconnect-PSSession Enable-ComputerRestore Enable-LocalUser Enable-PSBreakpoint Enable-PSRemoting Enable-PSSessionConfiguration Enable-RunspaceDebug Enter-PSHostProcess Enter-PSSession Exit-PSHostProcess Exit-PSSession Export-Alias Export-Clixml Export-Console Export-Counter Export-Csv Export-FormatData Export-ModuleMember Export-PSSession ForEach-Object Format-Custom Format-List Format-Table Format-Wide Get-Acl Get-Alias Get-AuthenticodeSignature Get-ChildItem Get-Clipboard Get-CmsMessage Get-Command Get-ComputerInfo Get-ComputerRestorePoint Get-Content Get-ControlPanelItem Get-Counter Get-Credential Get-Culture Get-Date Get-Event Get-EventLog Get-EventSubscriber Get-ExecutionPolicy Get-FormatData Get-Help Get-History Get-Host Get-HotFix Get-Item Get-ItemProperty Get-ItemPropertyValue Get-Job Get-LocalGroup Get-LocalGroupMember Get-LocalUser Get-Location Get-Member Get-Module Get-PfxCertificate Get-Process Get-PSBreakpoint Get-PSCallStack Get-PSDrive Get-PSHostProcessInfo Get-PSProvider Get-PSSession Get-PSSessionCapability Get-PSSessionConfiguration Get-PSSnapin Get-Random Get-Runspace Get-RunspaceDebug Get-Service Get-TimeZone Get-TraceSource Get-Transaction Get-TypeData Get-UICulture Get-Unique Get-Variable Get-WinEvent Get-WmiObject Group-Object Import-Alias Import-Clixml Import-Counter Import-Csv Import-LocalizedData Import-Module Import-PSSession Invoke-Command Invoke-Expression Invoke-History Invoke-Item Invoke-RestMethod Invoke-WebRequest Invoke-WmiMethod Join-Path Limit-EventLog Measure-Command Measure-Object Move-Item Move-ItemProperty New-Alias New-Event New-EventLog New-FileCatalog New-Item New-ItemProperty New-LocalGroup New-LocalUser New-Module New-ModuleManifest New-Object New-PSDrive New-PSRoleCapabilityFile New-PSSession New-PSSessionConfigurationFile New-PSSessionOption New-PSTransportOption New-Service New-TimeSpan New-Variable New-WebServiceProxy New-WinEvent Out-Default Out-File Out-GridView Out-Host Out-Null Out-Printer Out-String Pop-Location Protect-CmsMessage Push-Location Read-Host Receive-Job Receive-PSSession Register-ArgumentCompleter Register-EngineEvent Register-ObjectEvent Register-PSSessionConfiguration Register-WmiEvent Remove-Computer Remove-Event Remove-EventLog Remove-Item Remove-ItemProperty Remove-Job Remove-LocalGroup Remove-LocalGroupMember Remove-LocalUser Remove-Module Remove-PSBreakpoint Remove-PSDrive Remove-PSSession Remove-PSSnapin Remove-TypeData Remove-Variable Remove-WmiObject Rename-Computer Rename-Item Rename-ItemProperty Rename-LocalGroup Rename-LocalUser Reset-ComputerMachinePassword Resolve-Path Restart-Computer Restart-Service Restore-Computer Resume-Job Resume-Service Save-Help Select-Object Select-String Select-Xml Send-MailMessage Set-Acl Set-Alias Set-AuthenticodeSignature Set-Clipboard Set-Content Set-Date Set-ExecutionPolicy Set-Item Set-ItemProperty Set-LocalGroup Set-LocalUser Set-Location Set-PSBreakpoint Set-PSDebug Set-PSSessionConfiguration Set-Service Set-StrictMode Set-TimeZone Set-TraceSource Set-Variable Set-WmiInstance Show-Command Show-ControlPanelItem Show-EventLog Sort-Object Split-Path Start-Job Start-Process Start-Service Start-Sleep Start-Transaction Start-Transcript Stop-Computer Stop-Job Stop-Process Stop-Service Stop-Transcript Suspend-Job Suspend-Service Tee-Object Test-ComputerSecureChannel Test-Connection Test-FileCatalog Test-ModuleManifest Test-Path Test-PSSessionConfigurationFile Trace-Command Unblock-File Undo-Transaction Unprotect-CmsMessage Unregister-Event Unregister-PSSessionConfiguration Update-FormatData Update-Help Update-List Update-TypeData Use-Transaction Wait-Debugger Wait-Event Wait-Job Wait-Process Where-Object Write-Debug Write-Error Write-EventLog Write-Host Write-Information Write-Output Write-Progress Write-Verbose Write-Warning