text/x-powershell;text/x-ps
*.ps1;*.psm1;*.psd1
#
<#
#>
"
"
'
'
begin
break
case
Continue
Catch
Default
Do
Else
Elseif
End
Exit
Filter
For
Foreach
Function
Finally
If
In
Param
Process
Prompt
Parameter
Return
Switch
Then
Throw
Trap
Try
Until
While
Workflow
Parallel
DefaultParameterSetName
ConfirmImpact
SupportsShouldProcess
CmdletBinding
Mandatory
Position
ParameterSetName
ValueFromPipeline
ValueFromPipelineByPropertyName
ValueFromPipelineByPropertyName
Alias
AllowNull
AllowEmptyString
AllowEmptyCollection
ValidateCount
ValidateSet
ValidatePattern
ValidateRange
ValidateScript
ValidateNotNull
ValidateNotNullOrEmpty
\-
( 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 | # add in powershell 3.0
(not)?is | 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-Item
Clear-ItemProperty
Clear-Variable
Compare-Object
Complete-Transaction
Connect-WSMan
Convert-Path
ConvertFrom-CSV
ConvertFrom-SecureString
ConvertFrom-StringData
ConvertTo-CSV
ConvertTo-Html
ConvertTo-SecureString
ConvertTo-XML
Copy-Item
Copy-ItemProperty
Debug-Process
Disable-ComputerRestore
Disable-PSBreakpoint
Disable-PSSessionConfiguration
Disable-WSManCredSSP
Disconnect-WSMan
Enable-ComputerRestore
Enable-PSBreakpoint
Enable-PSRemoting
Enable-PSSessionConfiguration
Enable-WSManCredSSP
Enter-PSSession
Exit-PSSession
Export-Alias
Export-CSV
Export-Clixml
Export-Console
Export-Counter
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-Command
Get-ComputerRestorePoint
Get-Content
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-Job
Get-Location
Get-Member
Get-Module
Get-PSBreakpoint
Get-PSCallStack
Get-PSDrive
Get-PSProvider
Get-PSSession
Get-PSSessionConfiguration
Get-PSSnapin
Get-PfxCertificate
Get-Process
Get-Random
Get-Service
Get-TraceSource
Get-Transaction
Get-UICulture
Get-Unique
Get-Variable
Get-WSManCredSSP
Get-WSManInstance
Get-WinEvent
Get-WmiObject
Group-Object
Get-Services
Import-Alias
Import-CSV
Import-Clixml
Import-Counter
Import-LocalizedData
Import-Module
Import-PSSession
Invoke-Command
Invoke-Expression
Invoke-History
Invoke-Item
Invoke-WSManAction
Invoke-WmiMethod
Join-Path
Limit-EventLog
Measure-Command
Measure-Object
Move-Item
Move-ItemProperty
New-Alias
New-Event
New-EventLog
New-Item
New-ItemProperty
New-Module
New-ModuleManifest
New-Object
New-PSDrive
New-PSSession
New-PSSessionOption
New-Service
New-TimeSpan
New-Variable
New-WSManInstance
New-WSManSessionOption
New-WebServiceProxy
Out-Default
Out-File
Out-GridView
Out-Host
Out-Null
Out-Printer
Out-String
Pop-Location
Push-Location
Read-Host
Receive-Job
Register-EngineEvent
Register-ObjectEvent
Register-PSSessionConfiguration
Register-WmiEvent
Remove-Computer
Remove-Event
Remove-EventLog
Remove-Item
Remove-ItemProperty
Remove-Job
Remove-Module
Remove-PSBreakpoint
Remove-PSDrive
Remove-PSSession
Remove-PSSnapin
Remove-Variable
Remove-WSManInstance
Remove-WmiObject
Rename-Item
Rename-ItemProperty
Reset-ComputerMachinePassword
Resolve-Path
Restart-Computer
Restart-Service
Restore-Computer
Resume-Service
Select-Object
Select-String
Select-XML
Send-MailMessage
Set-Acl
Set-Alias
Set-AuthenticodeSignature
Set-Content
Set-Date
Set-ExecutionPolicy
Set-Item
Set-ItemProperty
Set-Location
Set-PSBreakpoint
Set-PSDebug
Set-PSSessionConfiguration
Set-Service
Set-StrictMode
Set-TraceSource
Set-Variable
Set-WSManInstance
Set-WSManQuickConfig
Set-WmiInstance
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-Service
Tee-Object
Test-ComputerSecureChannel
Test-Connection
Test-ModuleManifest
Test-Path
Test-WSMan
Trace-Command
Undo-Transaction
Unregister-Event
Unregister-PSSessionConfiguration
Update-FormatData
Update-List
Update-TypeData
Use-Transaction
Wait-Event
Wait-Job
Wait-Process
Where-Object
Write-Debug
Write-Error
Write-EventLog
Write-Host
Write-Output
Write-Progress
Write-Verbose
Write-Warning
ac
asnp
cat
cd
chdir
clc
clear
clhy
cli
clp
cls
clv
compare
copy
cp
cpi
cpp
cvpa
dbp
del
diff
dir
ebp
echo
epal
epcsv
epsn
erase
etsn
exsn
fc
fl
foreach
ft
fw
gal
gbp
gc
gci
gcm
gcs
gdr
ghy
gi
gjb
gl
gm
gmo
gp
gps
group
gsn
gsnp
gsv
gu
gv
gwmi
h
history
icm
iex
ihy
ii
ipal
ipcsv
ipmo
ipsn
ise
iwmi
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
rd
rdr
ren
ri
rjb
rm
rmdir
rmo
rni
rnp
rp
rsn
rsnp
rv
rvpa
rwmi
sajb
sal
saps
sasv
sbp
sc
select
set
si
sl
sleep
sort
sp
spjb
spps
spsv
start
sv
swmi
tee
type
where
wjb
write
\-
ErrorAction
ErrorVariable
WarningAction
WarningVariable
Verbose
OutVariable
OutBuffer
Debug
PipelineVariable
ForegroundColor
BackgroundColor
TypeName
Object
ComObject
NoNewline
Certificate
InputObject
MemberType
Name
Value
PassThru
Version
Seconds
PassThru
\b[a-z0-9_-]+\-[a-z0-9_]+\b
\b(0x[0-9a-f]+[L]?|[0-9]+(\.[0-9]+)?[d]?)\b
array
bool
byte
char
decimal
double
hashtable
int
int32
long
single
string
void
xml