hljs.registerLanguage("powershell",function(e){vart={b:"`[\\s\\S]",r:0},o={cN:"variable",v:[{b:/\$[\w\d][\w\d_:]*/}]},r={cN:"literal",b:/\$(null|true|false)\b/},n={cN:"string",v:[{b:/"/,e:/"/},{b:/@"/,e:/^"@/}],c:[t,o,{cN:"variable",b:/\$[A-z]/,e:/[^A-z]/}]},a={cN:"string",v:[{b:/'/,e:/'/},{b:/@'/,e:/^'@/}]},i={cN:"doctag",v:[{b:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{b:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]},s=e.inherit(e.C(null,null),{v:[{b:/#/,e:/$/},{b:/<#/,e:/#>/}],c:[i]});return{aliases:["ps"],l:/-?[A-z\.\-]+/,cI:!0,k:{keyword:"if else foreach return function do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch",built_in:"Add-ComputerAdd-ContentAdd-HistoryAdd-JobTriggerAdd-MemberAdd-PSSnapinAdd-TypeCheckpoint-ComputerClear-ContentClear-EventLogClear-HistoryClear-HostClear-ItemClear-ItemPropertyClear-VariableCompare-ObjectComplete-TransactionConnect-PSSessionConnect-WSManConvert-PathConvertFrom-CsvConvertFrom-JsonConvertFrom-SecureStringConvertFrom-StringDataConvertTo-CsvConvertTo-HtmlConvertTo-JsonConvertTo-SecureStringConvertTo-XmlCopy-ItemCopy-ItemPropertyDebug-ProcessDisable-ComputerRestoreDisable-JobTriggerDisable-PSBreakpointDisable-PSRemotingDisable-PSSessionConfigurationDisable-WSManCredSSPDisconnect-PSSessionDisconnect-WSManDisable-ScheduledJobEnable-ComputerRestoreEnable-JobTriggerEnable-PSBreakpointEnable-PSRemotingEnable-PSSessionConfigurationEnable-ScheduledJobEnable-WSManCredSSPEnter-PSSessionExit-PSSessionExport-AliasExport-ClixmlExport-ConsoleExport-CounterExport-CsvExport-FormatDataExport-ModuleMemberExport-PSSessionForEach-ObjectFormat-CustomFormat-ListFormat-TableFormat-WideGet-AclGet-AliasGet-AuthenticodeSignatureGet-ChildItemGet-CommandGet-ComputerRestorePointGet-ContentGet-ControlPanelItemGet-CounterGet-CredentialGet-CultureGet-DateGet-EventGet-EventLogGet-EventSubscriberGet-ExecutionPolicyGet-FormatDataGet-HostGet-HotFixGet-HelpGet-HistoryGet-IseSnippetGet-ItemGet-ItemPropertyGet-JobGet-JobTriggerGet-LocationGet-MemberGet-ModuleGet-PfxCertificateGet-ProcessGet-PSBreakpointGet-PSCallStackGet-PSDriveGet-PSProviderGet-PSSessionGet-PSSessionConfigurationGet-PSSnapinGet-RandomGet-ScheduledJobGet-ScheduledJobOptionGet-ServiceGet-TraceSourceGet-TransactionGet-TypeDataGet-UICultureGet-UniqueGet-VariableGet-VerbGet-WinEventGet-WmiObjectGet-WSManCredSSPGet-WSManInstanceGroup-ObjectImport-AliasImport-ClixmlImport-CounterImport-CsvImport-IseSnippetImport-LocalizedDataImport-PSSessionImport-ModuleInvoke-AsWorkflowInvoke-CommandInvoke-ExpressionInvoke-HistoryInvoke-ItemInvoke-RestMethodInvoke-WebRequestInvoke-WmiMethodInvoke-WSManActionJoin-PathLimit-EventLogMeasure-CommandMeasure-ObjectMove-ItemMove-ItemPropertyNew-AliasNew-EventNew-EventLogNew-IseSnippetNew-ItemNew-ItemPropertyNew-JobTriggerNew-ObjectNew-ModuleNew-ModuleManifestNew-PSDriveNew-PSSessionNew-PSSessionConfigurationFileNew-PSSessionOptionNew-PSTransportOptionNew-PSWorkflowExecutionOptionNew-PSWorkflowSessionNew-ScheduledJobOptionNew-ServiceNew-TimeSpanNew-VariableNew-WebServiceProxyNew-WinEventNew-WSManInstanceNew-WSManSessionOptionOut-DefaultOut-FileOut-GridViewOut-HostOut-NullOut-PrinterOut-StringPop-LocationPush-LocationRead-HostReceive-JobRegister-EngineEventRegister-ObjectEventRegister-PSSessionConfigurationRegister-ScheduledJobRegister-WmiEventRemove-ComputerRemove-EventRemove-EventLogRemove-ItemRemove-ItemPropertyRemove-JobRemove-JobTriggerRemove-ModuleRemove-PSBreakpointRemove-PSDriveRemove-PSSessionRemove-PSSnapinRemove-TypeDataRemove-VariableRemove-WmiObjectRemove-WSManInstanceRename-ComputerRename-ItemRename-ItemPropertyReset-ComputerMachinePasswordResolve-PathRestart-ComputerRestart-ServiceRestore-ComputerResume-JobResume-ServiceSave-Help