text/x-powershell;text/x-ps
*.ps1;*.psm1;*.psd1
#
<#
#>
"
"
'
'
Begin
Break
Catch
Class
Continue
Data
Default
Do
DynamicParam
Else
Elseif
End
Enum
Exit
Filter
Finally
For
Foreach
Function
Hidden
If
In
Parallel
Param
Parameter
Process
Prompt
Return
Switch
Throw
Trap
Try
Until
Using
While
Workflow
Alias
AllowEmptyCollection
AllowEmptyString
AllowNull
CmdletBinding
ConfirmImpact
DefaultParameterSetName
Mandatory
ParameterSetName
Position
SupportsShouldProcess
ValidateCount
ValidateNotNull
ValidateNotNullOrEmpty
ValidatePattern
ValidateRange
ValidateScript
ValidateSet
ValueFromPipeline
ValueFromPipelineByPropertyName
\-
( b?and | b?not | b?or | b?xor | (I|C)?eq | (I|C)?ge | (I|C)?gt |
(I|C)?le | (I|C)?lt | (I|C)?ne |
(I|C)?(not)?contains | (I|C)?(not)?like | (I|C)?(not)?match | (I|C)?replace |
shr | shl | (not)?in |
is(not)? | as
)
\b
\%{operator}
\! | \` | \\ |
\+ | \- | \* | / | % |
\? | : |
= |
\b
\%{symbol}
\$
([scriptglobacve]{5,7}:)? #script:, global:, local:, private:
[a-z0-9_]+
\b
\%{variable}
Add-Computer
Add-Content
Add-History
Add-Member
Add-PSSnapin
Add-Type
Checkpoint-Computer
Clear-Content
Clear-EventLog
Clear-History
Clear-Host
Clear-Item
Clear-ItemProperty
Clear-RecycleBin
Clear-Variable
Compare-Object
Complete-Transaction
Compress-Archive
Connect-PSSession
Connect-WSMan
Convert-Path
ConvertFrom-CSV
ConvertFrom-Json
ConvertFrom-Markdown
ConvertFrom-SecureString
ConvertFrom-StringData
ConvertTo-CSV
ConvertTo-Html
ConvertTo-Json
ConvertTo-SecureString
ConvertTo-XML
Copy-Item
Copy-ItemProperty
Debug-Job
Debug-Process
Debug-Runspace
Disable-ComputerRestore
Disable-ExperimentalFeature
Disable-PSBreakpoint
Disable-PSSessionConfiguration
Disable-RunspaceDebug
Disable-WSManCredSSP
Disconnect-PSSession
Disconnect-WSMan
Enable-ComputerRestore
Enable-ExperimentalFeature
Enable-PSBreakpoint
Enable-PSRemoting
Enable-PSSessionConfiguration
Enable-RunspaceDebug
Enable-WSManCredSSP
Enter-PSHostProcess
Enter-PSSession
Exit-PSHostProcess
Exit-PSSession
Expand-Archive
Export-Alias
Export-Clixml
Export-Console
Export-Counter
Export-CSV
Export-FormatData
Export-ModuleMember
Export-PSSession
Find-Command
Find-DSCResource
Find-Module
Find-Package
Find-PackageProvider
Find-RoleCapability
Find-Script
ForEach-Object
Format-Custom
Format-Hex
Format-List
Format-Table
Format-Wide
Get-Acl
Get-Alias
Get-AuthenticodeSignature
Get-ChildItem
Get-Clipboard
Get-Command
Get-ComputerInfo
Get-ComputerRestorePoint
Get-Content
Get-Counter
Get-Credential
Get-CredsFromCredentialProvider
Get-Culture
Get-Date
Get-DscResource
Get-Error
Get-Event
Get-EventLog
Get-EventSubscriber
Get-ExecutionPolicy
Get-ExperimentalFeature
Get-FileHash
Get-FormatData
Get-Help
Get-History
Get-Host
Get-HotFix
Get-InstalledModule
Get-InstalledScript
Get-Item
Get-ItemProperty
Get-ItemPropertyValue
Get-Job
Get-Location
Get-MarkdownOption
Get-Member
Get-Module
Get-Package
Get-PackageProvider
Get-PackageSource
Get-PfxCertificate
Get-Process
Get-PSBreakpoint
Get-PSCallStack
Get-PSDrive
Get-PSHostProcessInfo
Get-PSProvider
Get-PSReadLineKeyHandler
Get-PSReadLineOption
Get-PSRepository
Get-PSSession
Get-PSSessionConfiguration
Get-PSSnapin
Get-Random
Get-Runspace
Get-RunspaceDebug
Get-Service
Get-Services
Get-TimeZone
Get-TraceSource
Get-Transaction
Get-TypeData
Get-UICulture
Get-Unique
Get-Uptime
Get-Variable
Get-Verb
Get-WinEvent
Get-WmiObject
Get-WSManCredSSP
Get-WSManInstance
Group-Object
Import-Alias
Import-Clixml
Import-Counter
Import-CSV
Import-LocalizedData
Import-Module
Import-PackageProvider
Import-PowerShellDataFile
Import-PSSession
Install-Module
Install-Package
Install-PackageProvider
Install-Script
Invoke-Command
Invoke-DscResource
Invoke-Expression
Invoke-History
Invoke-Item
Invoke-RestMethod
Invoke-WebRequest
Invoke-WmiMethod
Invoke-WSManAction
Join-Path
Join-String
Limit-EventLog
Measure-Command
Measure-Object
Move-Item
Move-ItemProperty
New-Alias
New-DscChecksum
New-Event
New-EventLog
New-Guid
New-Item
New-ItemProperty
New-Module
New-ModuleManifest
New-Object
New-PSDrive
New-PSRoleCapabilityFile
New-PSSession
New-PSSessionOption
New-PSTransportOption
New-ScriptFileInfo
New-Service
New-TemporaryFile
New-TimeSpan
New-Variable
New-WebServiceProxy
New-WSManInstance
New-WSManSessionOption
Out-Default
Out-File
Out-GridView
Out-Host
Out-Null
Out-Printer
Out-String
Pop-Location
Publish-Module
Publish-Script
Push-Location
Read-Host
Receive-Job
Receive-PSSession
Register-ArgumentCompleter
Register-EngineEvent
Register-ObjectEvent
Register-PackageSource
Register-PSRepository
Register-PSSessionConfiguration
Register-WmiEvent
Remove-Alias
Remove-Computer
Remove-Event
Remove-EventLog
Remove-Item
Remove-ItemProperty
Remove-Job
Remove-Module
Remove-PSBreakpoint
Remove-PSDrive
Remove-PSReadLineKeyHandler
Remove-PSSession
Remove-PSSnapin
Remove-Service
Remove-TypeData
Remove-Variable
Remove-WmiObject
Remove-WSManInstance
Rename-Item
Rename-ItemProperty
Reset-ComputerMachinePassword
Resolve-Path
Restart-Computer
Restart-Service
Restore-Computer
Resume-Service
Save-Help
Save-Module
Save-Package
Save-Script
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-Location
Set-MarkdownOption
Set-PackageSource
Set-PSBreakpoint
Set-PSDebug
Set-PSReadLineKeyHandler
Set-PSReadLineOption
Set-PSRepository
Set-PSSessionConfiguration
Set-Service
Set-StrictMode
Set-TimeZone
Set-TraceSource
Set-Variable
Set-WmiInstance
Set-WSManInstance
Set-WSManQuickConfig
Show-Command
Show-EventLog
Show-Markdown
Sort-Object
Split-Path
Start-Job
Start-Process
Start-Service
Start-Sleep
Start-ThreadJob
Start-Transaction
Start-Transcript
Stop-Computer
Stop-Job
Stop-Process
Stop-Service
Stop-Transcript
Suspend-Service
Tee-Object
Test-ComputerSecureChannel
Test-Connection
Test-Json
Test-ModuleManifest
Test-Path
Test-ScriptFileInfo
Test-WSMan
Trace-Command
Unblock-File
Undo-Transaction
Uninstall-Module
Uninstall-Package
Uninstall-Script
Unregister-Event
Unregister-PackageSource
Unregister-PSRepository
Unregister-PSSessionConfiguration
Update-FormatData
Update-Help
Update-List
Update-Module
Update-ModuleManifest
Update-Script
Update-ScriptFileInfo
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
ac
asnp
cat
cd
chdir
clc
clear
clhy
cli
clp
cls
clv
cnsn
compare
copy
cp
cpi
cpp
cvpa
dbp
del
diff
dir
dnsn
ebp
echo
epal
epcsv
epsn
erase
etsn
exsn
fc
fhx
fl
foreach
ft
fw
gal
gbp
gc
gcb
gci
gcm
gcs
gdr
gerr
ghy
gi
gin
gjb
gl
gm
gmo
gp
gps
gpv
group
gsn
gsnp
gsv
gtz
gu
gv
gwmi
h
history
icm
iex
ihy
ii
ipal
ipcsv
ipmo
ipsn
irm
ise
iwmi
iwr
kill
lp
ls
man
md
measure
mi
mount
move
mp
mv
nal
ndr
ni
nmo
nsn
nv
ogv
oh
popd
ps
pushd
pwd
r
rbp
rcjb
rcsn
rd
rdr
ren
ri
rjb
rm
rmdir
rmo
rni
rnp
rp
rsn
rsnp
rv
rvpa
rwmi
sajb
sal
saps
sasv
sbp
sc
scb
select
set
shcm
si
sl
sleep
sls
sort
sp
spjb
spps
spsv
start
stz
sv
swmi
tee
type
where
wjb
write
\-
Debug
ErrorAction
ErrorVariable
InformationAction
InformationVariable
OutBuffer
OutVariable
PipelineVariable
Verbose
WarningAction
WarningVariable
BackgroundColor
Certificate
ComObject
Exclude
Force
ForegroundColor
Hours
Include
InputObject
LiteralPath
MemberType
Minutes
Name
NoNewline
Object
PassThru
Path
Property
Seconds
TypeName
Value
Version
\b[a-z0-9_-]+\-[a-z0-9_]+\b
\b(0x[0-9a-f]+[L]?|[0-9]+(\.[0-9]+)?[d]?)\b
array
bool
byte
char
datetime
decimal
double
hashtable
int32
int
long
pscustomobject
psobject
single
string
timespan
void
xml