-
Notifications
You must be signed in to change notification settings - Fork 553
/
powershell.nanorc
34 lines (24 loc) · 33 KB
/
powershell.nanorc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
## Nano syntax highlighting file for PowerShell
## Written by Rashil Gandhi https://github.com/rashil2000
syntax "PowerShell" "\.[pP][sS][1]$" "\.[pP][sS][mM][1]$"
## Commands
icolor cyan "\<(Add-AppPackage|Add-AppPackageVolume|Add-AppProvisionedPackage|Add-ProvisionedAppPackage|Add-ProvisionedAppxPackage|Add-ProvisioningPackage|Add-TrustedProvisioningCertificate|Apply-WindowsUnattend|Disable-PhysicalDiskIndication|Disable-StorageDiagnosticLog|Dismount-AppPackageVolume|Enable-PhysicalDiskIndication|Enable-StorageDiagnosticLog|Flush-Volume|Get-AppPackage|Get-AppPackageDefaultVolume|Get-AppPackageLastError|Get-AppPackageLog|Get-AppPackageManifest|Get-AppPackageVolume|Get-AppProvisionedPackage|Get-DiskSNV|Get-PhysicalDiskSNV|Get-ProvisionedAppPackage|Get-ProvisionedAppxPackage|Get-StorageEnclosureSNV|Initialize-Volume|Mount-AppPackageVolume|Move-AppPackage|Move-SmbClient|Optimize-AppProvisionedPackages|Optimize-ProvisionedAppPackages|Optimize-ProvisionedAppxPackages|Remove-AppPackage|Remove-AppPackageVolume|Remove-AppProvisionedPackage|Remove-EtwTraceSession|Remove-ProvisionedAppPackage|Remove-ProvisionedAppxPackage|Remove-ProvisioningPackage|Remove-TrustedProvisioningCertificate|Set-AppPackageDefaultVolume|Set-AppPackageProvisionedDataFile|Set-AutologgerConfig|Set-EtwTraceSession|Set-ProvisionedAppPackageDataFile|Set-ProvisionedAppXDataFile|Write-FileSystemCache|A:|Add-BitLockerKeyProtector|Add-DnsClientNrptRule|Add-DtcClusterTMMapping|Add-EtwTraceProvider|Add-InitiatorIdToMaskingSet|Add-MpPreference|Add-MpPreference|Add-NetEventNetworkAdapter|Add-NetEventPacketCaptureProvider|Add-NetEventProvider|Add-NetEventVFPProvider|Add-NetEventVmNetworkAdapter|Add-NetEventVmSwitch|Add-NetEventVmSwitchProvider|Add-NetEventWFPCaptureProvider|Add-NetIPHttpsCertBinding|Add-NetLbfoTeamMember|Add-NetLbfoTeamNic|Add-NetNatExternalAddress|Add-NetNatStaticMapping|Add-NetSwitchTeamMember|Add-OdbcDsn|Add-PartitionAccessPath|Add-PhysicalDisk|Add-PoshGitToProfile|Add-Printer|Add-PrinterDriver|Add-PrinterPort|Add-SshKey|Add-StorageFaultDomain|Add-TargetPortToMaskingSet|Add-VirtualDiskToMaskingSet|Add-VpnConnection|Add-VpnConnectionRoute|Add-VpnConnectionTriggerApplication|Add-VpnConnectionTriggerDnsConfiguration|Add-VpnConnectionTriggerTrustedNetwork|AfterAll|AfterEach|Assert-MockCalled|Assert-VerifiableMocks|B:|Backup-BitLockerKeyProtector|BackupToAAD-BitLockerKeyProtector|BeforeAll|BeforeEach|Block-FileShareAccess|Block-SmbShareAccess|C:|cd..|cd\|Clear-BitLockerAutoUnlock|Clear-Disk|Clear-DnsClientCache|Clear-FileStorageTier|Clear-Host|Clear-PcsvDeviceLog|Clear-StorageBusDisk|Clear-StorageDiagnosticInfo|Close-SmbOpenFile|Close-SmbSession|Compress-Archive|Configuration|Connect-IscsiTarget|Connect-VirtualDisk|Context|ConvertFrom-SddlString|Copy-NetFirewallRule|Copy-NetIPsecMainModeCryptoSet|Copy-NetIPsecMainModeRule|Copy-NetIPsecPhase1AuthSet|Copy-NetIPsecPhase2AuthSet|Copy-NetIPsecQuickModeCryptoSet|Copy-NetIPsecRule|D:|Debug-FileShare|Debug-MMAppPrelaunch|Debug-StorageSubSystem|Debug-Volume|Describe|Disable-BitLocker|Disable-BitLockerAutoUnlock|Disable-DAManualEntryPointSelection|Disable-DeliveryOptimizationVerboseLogs|Disable-DscDebug|Disable-MMAgent|Disable-NetAdapter|Disable-NetAdapterBinding|Disable-NetAdapterChecksumOffload|Disable-NetAdapterEncapsulatedPacketTaskOffload|Disable-NetAdapterIPsecOffload|Disable-NetAdapterLso|Disable-NetAdapterPacketDirect|Disable-NetAdapterPowerManagement|Disable-NetAdapterQos|Disable-NetAdapterRdma|Disable-NetAdapterRsc|Disable-NetAdapterRss|Disable-NetAdapterSriov|Disable-NetAdapterUso|Disable-NetAdapterVmq|Disable-NetDnsTransitionConfiguration|Disable-NetFirewallRule|Disable-NetIPHttpsProfile|Disable-NetIPsecMainModeRule|Disable-NetIPsecRule|Disable-NetNatTransitionConfiguration|Disable-NetworkSwitchEthernetPort|Disable-NetworkSwitchFeature|Disable-NetworkSwitchVlan|Disable-OdbcPerfCounter|Disable-PhysicalDiskIdentification|Disable-PnpDevice|Disable-PSTrace|Disable-PSWSManCombinedTrace|Disable-ScheduledTask|Disable-SmbDelegation|Disable-StorageBusCache|Disable-StorageBusDisk|Disable-StorageEnclosureIdentification|Disable-StorageEnclosurePower|Disable-StorageHighAvailability|Disable-StorageMaintenanceMode|Disable-WdacBidTrace|Disable-WSManTrace|Disconnect-IscsiTarget|Disconnect-VirtualDisk|Dismount-DiskImage|E:|Enable-BitLocker|Enable-BitLockerAutoUnlock|Enable-DAManualEntryPointSelection|Enable-DeliveryOptimizationVerboseLogs|Enable-DscDebug|Enable-GitColors|Enable-MMAgent|Enable-NetAdapter|Enable-NetAdapterBinding|Enable-NetAdapterChecksumOffload|Enable-NetAdapterEncapsulatedPacketTaskOffload|Enable-NetAdapterIPsecOffload|Enable-NetAdapterLso|Enable-NetAdapterPacketDirect|Enable-NetAdapterPowerManagement|Enable-NetAdapterQos|Enable-NetAdapterRdma|Enable-NetAdapterRsc|Enable-NetAdapterRss|Enable-NetAdapterSriov|Enable-NetAdapterUso|Enable-NetAdapterVmq|Enable-NetDnsTransitionConfiguration|Enable-NetFirewallRule|Enable-NetIPHttpsProfile|Enable-NetIPsecMainModeRule|Enable-NetIPsecRule|Enable-NetNatTransitionConfiguration|Enable-NetworkSwitchEthernetPort|Enable-NetworkSwitchFeature|Enable-NetworkSwitchVlan|Enable-OdbcPerfCounter|Enable-PhysicalDiskIdentification|Enable-PnpDevice|Enable-PSTrace|Enable-PSWSManCombinedTrace|Enable-ScheduledTask|Enable-SmbDelegation|Enable-StorageBusCache|Enable-StorageBusDisk|Enable-StorageEnclosureIdentification|Enable-StorageEnclosurePower|Enable-StorageHighAvailability|Enable-StorageMaintenanceMode|Enable-WdacBidTrace|Enable-WSManTrace|Expand-Archive|Expand-GitCommand|Export-ODataEndpointProxy|Export-ScheduledTask|F:|Find-Command|Find-Command|Find-Command|Find-DSCResource|Find-DSCResource|Find-DscResource|Find-Module|Find-Module|Find-Module|Find-NetIPsecRule|Find-NetRoute|Find-RoleCapability|Find-RoleCapability|Find-RoleCapability|Find-Script|Find-Script|Find-Script|Flush-EtwTraceSession|Format-Hex|Format-Volume|G:|Get-AliasPattern|Get-AppBackgroundTask|Get-AppxLastError|Get-AppxLog|Get-AutologgerConfig|Get-BitLockerVolume|Get-ClusteredScheduledTask|Get-ComputerName|Get-CredsFromCredentialProvider|Get-CredsFromCredentialProvider|Get-DAClientExperienceConfiguration|Get-DAConnectionStatus|Get-DAEntryPointTableItem|Get-DedupProperties|Get-DeliveryOptimizationPerfSnap|Get-DeliveryOptimizationPerfSnapThisMonth|Get-DeliveryOptimizationStatus|Get-Disk|Get-DiskImage|Get-DiskStorageNodeView|Get-DnsClient|Get-DnsClientCache|Get-DnsClientGlobalSetting|Get-DnsClientNrptGlobal|Get-DnsClientNrptPolicy|Get-DnsClientNrptRule|Get-DnsClientServerAddress|Get-DOConfig|Get-DODownloadMode|Get-DOPercentageMaxBackgroundBandwidth|Get-DOPercentageMaxForegroundBandwidth|Get-DscConfiguration|Get-DscConfigurationStatus|Get-DscLocalConfigurationManager|Get-DscResource|Get-Dtc|Get-DtcAdvancedHostSetting|Get-DtcAdvancedSetting|Get-DtcClusterDefault|Get-DtcClusterTMMapping|Get-DtcDefault|Get-DtcLog|Get-DtcNetworkSetting|Get-DtcTransaction|Get-DtcTransactionsStatistics|Get-DtcTransactionsTraceSession|Get-DtcTransactionsTraceSetting|Get-EtwTraceProvider|Get-EtwTraceSession|Get-FileHash|Get-FileIntegrity|Get-FileShare|Get-FileShareAccessControlEntry|Get-FileStorageTier|Get-FormattedRootLocation|Get-FullPath|Get-GitBranch|Get-GitDirectory|Get-GitStatus|Get-HnsEndpoint|Get-HnsNamespace|Get-HnsNetwork|Get-HnsPolicyList|Get-InitiatorId|Get-InitiatorPort|Get-InstalledModule|Get-InstalledModule|Get-InstalledModule|Get-InstalledScript|Get-InstalledScript|Get-InstalledScript|Get-IscsiConnection|Get-IscsiSession|Get-IscsiTarget|Get-IscsiTargetPortal|Get-IseSnippet|Get-LogProperties|Get-MaskingSet|Get-MMAgent|Get-MockDynamicParameters|Get-MpComputerStatus|Get-MpComputerStatus|Get-MpPreference|Get-MpPreference|Get-MpThreat|Get-MpThreat|Get-MpThreatCatalog|Get-MpThreatCatalog|Get-MpThreatDetection|Get-MpThreatDetection|Get-NCSIPolicyConfiguration|Get-Net6to4Configuration|Get-NetAdapter|Get-NetAdapterAdvancedProperty|Get-NetAdapterBinding|Get-NetAdapterChecksumOffload|Get-NetAdapterEncapsulatedPacketTaskOffload|Get-NetAdapterHardwareInfo|Get-NetAdapterIPsecOffload|Get-NetAdapterLso|Get-NetAdapterPacketDirect|Get-NetAdapterPowerManagement|Get-NetAdapterQos|Get-NetAdapterRdma|Get-NetAdapterRsc|Get-NetAdapterRss|Get-NetAdapterSriov|Get-NetAdapterSriovVf|Get-NetAdapterStatistics|Get-NetAdapterUso|Get-NetAdapterVmq|Get-NetAdapterVMQQueue|Get-NetAdapterVPort|Get-NetCompartment|Get-NetConnectionProfile|Get-NetDnsTransitionConfiguration|Get-NetDnsTransitionMonitoring|Get-NetEventNetworkAdapter|Get-NetEventPacketCaptureProvider|Get-NetEventProvider|Get-NetEventSession|Get-NetEventVFPProvider|Get-NetEventVmNetworkAdapter|Get-NetEventVmSwitch|Get-NetEventVmSwitchProvider|Get-NetEventWFPCaptureProvider|Get-NetFirewallAddressFilter|Get-NetFirewallApplicationFilter|Get-NetFirewallInterfaceFilter|Get-NetFirewallInterfaceTypeFilter|Get-NetFirewallPortFilter|Get-NetFirewallProfile|Get-NetFirewallRule|Get-NetFirewallSecurityFilter|Get-NetFirewallServiceFilter|Get-NetFirewallSetting|Get-NetIPAddress|Get-NetIPConfiguration|Get-NetIPHttpsConfiguration|Get-NetIPHttpsState|Get-NetIPInterface|Get-NetIPsecDospSetting|Get-NetIPsecMainModeCryptoSet|Get-NetIPsecMainModeRule|Get-NetIPsecMainModeSA|Get-NetIPsecPhase1AuthSet|Get-NetIPsecPhase2AuthSet|Get-NetIPsecQuickModeCryptoSet|Get-NetIPsecQuickModeSA|Get-NetIPsecRule|Get-NetIPv4Protocol|Get-NetIPv6Protocol|Get-NetIsatapConfiguration|Get-NetLbfoTeam|Get-NetLbfoTeamMember|Get-NetLbfoTeamNic|Get-NetNat|Get-NetNatExternalAddress|Get-NetNatGlobal|Get-NetNatSession|Get-NetNatStaticMapping|Get-NetNatTransitionConfiguration|Get-NetNatTransitionMonitoring|Get-NetNeighbor|Get-NetOffloadGlobalSetting|Get-NetPrefixPolicy|Get-NetQosPolicy|Get-NetRoute|Get-NetSwitchTeam|Get-NetSwitchTeamMember|Get-NetTCPConnection|Get-NetTCPSetting|Get-NetTeredoConfiguration|Get-NetTeredoState|Get-NetTransportFilter|Get-NetUDPEndpoint|Get-NetUDPSetting|Get-NetView|Get-NetworkSwitchEthernetPort|Get-NetworkSwitchFeature|Get-NetworkSwitchGlobalData|Get-NetworkSwitchVlan|Get-OdbcDriver|Get-OdbcDsn|Get-OdbcPerfCounter|Get-OffloadDataTransferSetting|Get-OperationValidation|Get-Partition|Get-PartitionSupportedSize|Get-PcsvDevice|Get-PcsvDeviceLog|Get-PhysicalDisk|Get-PhysicalDiskStorageNodeView|Get-PhysicalExtent|Get-PhysicalExtentAssociation|Get-PnpDevice|Get-PnpDeviceProperty|Get-PrintConfiguration|Get-Printer|Get-PrinterDriver|Get-PrinterPort|Get-PrinterProperty|Get-PrintJob|Get-PromptPath|Get-PSRepository|Get-PSRepository|Get-PSRepository|Get-ResiliencySetting|Get-ScheduledTask|Get-ScheduledTaskInfo|Get-ShortPath|Get-SmbBandWidthLimit|Get-SmbClientConfiguration|Get-SmbClientNetworkInterface|Get-SmbConnection|Get-SmbDelegation|Get-SmbGlobalMapping|Get-SmbMapping|Get-SmbMultichannelConnection|Get-SmbMultichannelConstraint|Get-SmbOpenFile|Get-SmbServerCertificateMapping|Get-SmbServerConfiguration|Get-SmbServerNetworkInterface|Get-SmbSession|Get-SmbShare|Get-SmbShareAccess|Get-SmbWitnessClient|Get-SshAgent|Get-SshPath|Get-StartApps|Get-StorageAdvancedProperty|Get-StorageBusBinding|Get-StorageBusDisk|Get-StorageChassis|Get-StorageDiagnosticInfo|Get-StorageEnclosure|Get-StorageEnclosureStorageNodeView|Get-StorageEnclosureVendorData|Get-StorageExtendedStatus|Get-StorageFaultDomain|Get-StorageFileServer|Get-StorageFirmwareInformation|Get-StorageHealthAction|Get-StorageHealthReport|Get-StorageHealthSetting|Get-StorageHistory|Get-StorageJob|Get-StorageNode|Get-StoragePool|Get-StorageProvider|Get-StorageRack|Get-StorageReliabilityCounter|Get-StorageScaleUnit|Get-StorageSetting|Get-StorageSite|Get-StorageSubSystem|Get-StorageTier|Get-StorageTierSupportedSize|Get-SupportedClusterSizes|Get-SupportedFileSystems|Get-TargetPort|Get-TargetPortal|Get-TestDriveItem|Get-Theme|Get-ThemesLocation|Get-VcsInfo|Get-VCSStatus|Get-Verb|Get-VirtualDisk|Get-VirtualDiskSupportedSize|Get-VirtualEnvName|Get-Volume|Get-VolumeCorruptionCount|Get-VolumeScrubPolicy|Get-VpnConnection|Get-VpnConnectionTrigger|Get-WdacBidTrace|Get-WindowsUpdateLog|Get-WUAVersion|Get-WUIsPendingReboot|Get-WULastInstallationDate|Get-WULastScanSuccessDate|Grant-FileShareAccess|Grant-SmbShareAccess|H:|help|Hide-VirtualDisk|I:|Import-IseSnippet|Import-PowerShellDataFile|ImportSystemModules|In|Initialize-Disk|InModuleScope|Install-Dtc|Install-Module|Install-Module|Install-Module|Install-Script|Install-Script|Install-Script|Install-WUUpdates|Invoke-AsWorkflow|Invoke-Mock|Invoke-NullCoalescing|Invoke-OperationValidation|Invoke-Pester|It|J:|K:|L:|Lock-BitLocker|M:|mkdir|Mock|more|Mount-DiskImage|Move-SmbWitnessClient|N:|New-AutologgerConfig|New-DAEntryPointTableItem|New-DscChecksum|New-EapConfiguration|New-EtwTraceSession|New-FileShare|New-Fixture|New-Guid|New-IscsiTargetPortal|New-IseSnippet|New-MaskingSet|New-NetAdapterAdvancedProperty|New-NetEventSession|New-NetFirewallRule|New-NetIPAddress|New-NetIPHttpsConfiguration|New-NetIPsecDospSetting|New-NetIPsecMainModeCryptoSet|New-NetIPsecMainModeRule|New-NetIPsecPhase1AuthSet|New-NetIPsecPhase2AuthSet|New-NetIPsecQuickModeCryptoSet|New-NetIPsecRule|New-NetLbfoTeam|New-NetNat|New-NetNatTransitionConfiguration|New-NetNeighbor|New-NetQosPolicy|New-NetRoute|New-NetSwitchTeam|New-NetTransportFilter|New-NetworkSwitchVlan|New-Partition|New-PesterOption|New-PSWorkflowSession|New-ScheduledTask|New-ScheduledTaskAction|New-ScheduledTaskPrincipal|New-ScheduledTaskSettingsSet|New-ScheduledTaskTrigger|New-ScriptFileInfo|New-ScriptFileInfo|New-ScriptFileInfo|New-SmbGlobalMapping|New-SmbMapping|New-SmbMultichannelConstraint|New-SmbServerCertificateMapping|New-SmbShare|New-StorageBusBinding|New-StorageBusCacheStore|New-StorageFileServer|New-StoragePool|New-StorageSubsystemVirtualDisk|New-StorageTier|New-TemporaryFile|New-VirtualDisk|New-VirtualDiskClone|New-VirtualDiskSnapshot|New-Volume|New-VpnServerAddress|O:|Open-NetGPO|Optimize-StoragePool|Optimize-Volume|oss|Out-Default|P:|Pause|prompt|PSConsoleHostReadLine|Publish-Module|Publish-Module|Publish-Module|Publish-Script|Publish-Script|Publish-Script|Q:|R:|Read-PrinterNfcTag|Register-ClusteredScheduledTask|Register-DnsClient|Register-IscsiSession|Register-PSRepository|Register-PSRepository|Register-PSRepository|Register-ScheduledTask|Register-StorageSubsystem|Remove-AutologgerConfig|Remove-BitLockerKeyProtector|Remove-DAEntryPointTableItem|Remove-DnsClientNrptRule|Remove-DscConfigurationDocument|Remove-DtcClusterTMMapping|Remove-EtwTraceProvider|Remove-FileShare|Remove-HnsEndpoint|Remove-HnsNamespace|Remove-HnsNetwork|Remove-HnsPolicyList|Remove-InitiatorId|Remove-InitiatorIdFromMaskingSet|Remove-IscsiTargetPortal|Remove-MaskingSet|Remove-MpPreference|Remove-MpPreference|Remove-MpThreat|Remove-MpThreat|Remove-NetAdapterAdvancedProperty|Remove-NetEventNetworkAdapter|Remove-NetEventPacketCaptureProvider|Remove-NetEventProvider|Remove-NetEventSession|Remove-NetEventVFPProvider|Remove-NetEventVmNetworkAdapter|Remove-NetEventVmSwitch|Remove-NetEventVmSwitchProvider|Remove-NetEventWFPCaptureProvider|Remove-NetFirewallRule|Remove-NetIPAddress|Remove-NetIPHttpsCertBinding|Remove-NetIPHttpsConfiguration|Remove-NetIPsecDospSetting|Remove-NetIPsecMainModeCryptoSet|Remove-NetIPsecMainModeRule|Remove-NetIPsecMainModeSA|Remove-NetIPsecPhase1AuthSet|Remove-NetIPsecPhase2AuthSet|Remove-NetIPsecQuickModeCryptoSet|Remove-NetIPsecQuickModeSA|Remove-NetIPsecRule|Remove-NetLbfoTeam|Remove-NetLbfoTeamMember|Remove-NetLbfoTeamNic|Remove-NetNat|Remove-NetNatExternalAddress|Remove-NetNatStaticMapping|Remove-NetNatTransitionConfiguration|Remove-NetNeighbor|Remove-NetQosPolicy|Remove-NetRoute|Remove-NetSwitchTeam|Remove-NetSwitchTeamMember|Remove-NetTransportFilter|Remove-NetworkSwitchEthernetPortIPAddress|Remove-NetworkSwitchVlan|Remove-OdbcDsn|Remove-Partition|Remove-PartitionAccessPath|Remove-PhysicalDisk|Remove-Printer|Remove-PrinterDriver|Remove-PrinterPort|Remove-PrintJob|Remove-SmbBandwidthLimit|Remove-SmbGlobalMapping|Remove-SmbMapping|Remove-SmbMultichannelConstraint|Remove-SmbServerCertificateMapping|Remove-SmbShare|Remove-StorageBusBinding|Remove-StorageFaultDomain|Remove-StorageFileServer|Remove-StorageHealthIntent|Remove-StorageHealthSetting|Remove-StoragePool|Remove-StorageTier|Remove-TargetPortFromMaskingSet|Remove-VirtualDisk|Remove-VirtualDiskFromMaskingSet|Remove-VpnConnection|Remove-VpnConnectionRoute|Remove-VpnConnectionTriggerApplication|Remove-VpnConnectionTriggerDnsConfiguration|Remove-VpnConnectionTriggerTrustedNetwork|Rename-DAEntryPointTableItem|Rename-MaskingSet|Rename-NetAdapter|Rename-NetFirewallRule|Rename-NetIPHttpsConfiguration|Rename-NetIPsecMainModeCryptoSet|Rename-NetIPsecMainModeRule|Rename-NetIPsecPhase1AuthSet|Rename-NetIPsecPhase2AuthSet|Rename-NetIPsecQuickModeCryptoSet|Rename-NetIPsecRule|Rename-NetLbfoTeam|Rename-NetSwitchTeam|Rename-Printer|Repair-FileIntegrity|Repair-VirtualDisk|Repair-Volume|Reset-DAClientExperienceConfiguration|Reset-DAEntryPointTableItem|Reset-DtcLog|Reset-NCSIPolicyConfiguration|Reset-Net6to4Configuration|Reset-NetAdapterAdvancedProperty|Reset-NetDnsTransitionConfiguration|Reset-NetIPHttpsConfiguration|Reset-NetIsatapConfiguration|Reset-NetTeredoConfiguration|Reset-PhysicalDisk|Reset-StorageReliabilityCounter|Resize-Partition|Resize-StorageTier|Resize-VirtualDisk|Restart-NetAdapter|Restart-PcsvDevice|Restart-PrintJob|Restore-DscConfiguration|Restore-NetworkSwitchConfiguration|Resume-BitLocker|Resume-PrintJob|Resume-StorageBusDisk|Revoke-FileShareAccess|Revoke-SmbShareAccess|S:|SafeGetCommand|Save-EtwTraceSession|Save-Module|Save-Module|Save-Module|Save-NetGPO|Save-NetworkSwitchConfiguration|Save-Script|Save-Script|Save-Script|Send-EtwTraceSession|Set-ClusteredScheduledTask|Set-CursorForRightBlockWrite|Set-CursorUp|Set-DAClientExperienceConfiguration|Set-DAEntryPointTableItem|Set-Disk|Set-DnsClient|Set-DnsClientGlobalSetting|Set-DnsClientNrptGlobal|Set-DnsClientNrptRule|Set-DnsClientServerAddress|Set-DtcAdvancedHostSetting|Set-DtcAdvancedSetting|Set-DtcClusterDefault|Set-DtcClusterTMMapping|Set-DtcDefault|Set-DtcLog|Set-DtcNetworkSetting|Set-DtcTransaction|Set-DtcTransactionsTraceSession|Set-DtcTransactionsTraceSetting|Set-DynamicParameterVariables|Set-EtwTraceProvider|Set-FileIntegrity|Set-FileShare|Set-FileStorageTier|Set-InitiatorPort|Set-IscsiChapSecret|Set-LogProperties|Set-MMAgent|Set-MpPreference|Set-MpPreference|Set-NCSIPolicyConfiguration|Set-Net6to4Configuration|Set-NetAdapter|Set-NetAdapterAdvancedProperty|Set-NetAdapterBinding|Set-NetAdapterChecksumOffload|Set-NetAdapterEncapsulatedPacketTaskOffload|Set-NetAdapterIPsecOffload|Set-NetAdapterLso|Set-NetAdapterPacketDirect|Set-NetAdapterPowerManagement|Set-NetAdapterQos|Set-NetAdapterRdma|Set-NetAdapterRsc|Set-NetAdapterRss|Set-NetAdapterSriov|Set-NetAdapterUso|Set-NetAdapterVmq|Set-NetConnectionProfile|Set-NetDnsTransitionConfiguration|Set-NetEventPacketCaptureProvider|Set-NetEventProvider|Set-NetEventSession|Set-NetEventVFPProvider|Set-NetEventVmSwitchProvider|Set-NetEventWFPCaptureProvider|Set-NetFirewallAddressFilter|Set-NetFirewallApplicationFilter|Set-NetFirewallInterfaceFilter|Set-NetFirewallInterfaceTypeFilter|Set-NetFirewallPortFilter|Set-NetFirewallProfile|Set-NetFirewallRule|Set-NetFirewallSecurityFilter|Set-NetFirewallServiceFilter|Set-NetFirewallSetting|Set-NetIPAddress|Set-NetIPHttpsConfiguration|Set-NetIPInterface|Set-NetIPsecDospSetting|Set-NetIPsecMainModeCryptoSet|Set-NetIPsecMainModeRule|Set-NetIPsecPhase1AuthSet|Set-NetIPsecPhase2AuthSet|Set-NetIPsecQuickModeCryptoSet|Set-NetIPsecRule|Set-NetIPv4Protocol|Set-NetIPv6Protocol|Set-NetIsatapConfiguration|Set-NetLbfoTeam|Set-NetLbfoTeamMember|Set-NetLbfoTeamNic|Set-NetNat|Set-NetNatGlobal|Set-NetNatTransitionConfiguration|Set-NetNeighbor|Set-NetOffloadGlobalSetting|Set-NetQosPolicy|Set-NetRoute|Set-NetTCPSetting|Set-NetTeredoConfiguration|Set-NetUDPSetting|Set-NetworkSwitchEthernetPortIPAddress|Set-NetworkSwitchPortMode|Set-NetworkSwitchPortProperty|Set-NetworkSwitchVlanProperty|Set-Newline|Set-OdbcDriver|Set-OdbcDsn|Set-Partition|Set-PcsvDeviceBootConfiguration|Set-PcsvDeviceNetworkConfiguration|Set-PcsvDeviceUserPassword|Set-PhysicalDisk|Set-PrintConfiguration|Set-Printer|Set-PrinterProperty|Set-Prompt|Set-PSRepository|Set-PSRepository|Set-PSRepository|Set-ResiliencySetting|Set-ScheduledTask|Set-SmbBandwidthLimit|Set-SmbClientConfiguration|Set-SmbPathAcl|Set-SmbServerConfiguration|Set-SmbShare|Set-StorageBusProfile|Set-StorageFileServer|Set-StorageHealthSetting|Set-StoragePool|Set-StorageProvider|Set-StorageSetting|Set-StorageSubSystem|Set-StorageTier|Set-TestInconclusive|Set-Theme|Setup|Set-VirtualDisk|Set-Volume|Set-VolumeScrubPolicy|Set-VpnConnection|Set-VpnConnectionIPsecConfiguration|Set-VpnConnectionProxy|Set-VpnConnectionTriggerDnsConfiguration|Set-VpnConnectionTriggerTrustedNetwork|Should|Show-Colors|Show-NetFirewallRule|Show-NetIPsecRule|Show-StorageHistory|Show-ThemeColors|Show-ThemeSymbols|Show-VirtualDisk|Start-AppBackgroundTask|Start-AutologgerConfig|Start-Dtc|Start-DtcTransactionsTraceSession|Start-EtwTraceSession|Start-MpScan|Start-MpScan|Start-MpWDOScan|Start-MpWDOScan|Start-NetEventSession|Start-PcsvDevice|Start-ScheduledTask|Start-SshAgent|Start-StorageDiagnosticLog|Start-Trace|Start-WUScan|Stop-DscConfiguration|Stop-Dtc|Stop-DtcTransactionsTraceSession|Stop-EtwTraceSession|Stop-NetEventSession|Stop-PcsvDevice|Stop-ScheduledTask|Stop-SshAgent|Stop-StorageDiagnosticLog|Stop-StorageJob|Stop-Trace|Suspend-BitLocker|Suspend-PrintJob|Suspend-StorageBusDisk|Sync-NetIPsecRule|T:|TabExpansion|TabExpansion2|Test-Administrator|Test-Dtc|Test-NetConnection|Test-NotDefaultUser|Test-ScriptFileInfo|Test-ScriptFileInfo|Test-ScriptFileInfo|Test-VirtualEnv|tgit|U:|Unblock-FileShareAccess|Unblock-SmbShareAccess|Uninstall-Dtc|Uninstall-Module|Uninstall-Module|Uninstall-Module|Uninstall-Script|Uninstall-Script|Uninstall-Script|Unlock-BitLocker|Unregister-AppBackgroundTask|Unregister-ClusteredScheduledTask|Unregister-IscsiSession|Unregister-PSRepository|Unregister-PSRepository|Unregister-PSRepository|Unregister-ScheduledTask|Unregister-StorageSubsystem|Update-AllBranches|Update-AutologgerConfig|Update-Disk|Update-DscConfiguration|Update-EtwTraceSession|Update-HostStorageCache|Update-IscsiTarget|Update-IscsiTargetPortal|Update-Module|Update-Module|Update-Module|Update-ModuleManifest|Update-ModuleManifest|Update-ModuleManifest|Update-MpSignature|Update-MpSignature|Update-NetIPsecRule|Update-Script|Update-Script|Update-Script|Update-ScriptFileInfo|Update-ScriptFileInfo|Update-ScriptFileInfo|Update-SmbMultichannelConnection|Update-StorageFirmware|Update-StoragePool|Update-StorageProviderCache|V:|vimdiff|W:|Write-ColorPreview|Write-DtcTransactionsTraceSession|Write-GitStatus|Write-PrinterNfcTag|Write-Prompt|Write-VcsStatus|Write-VolumeCache|Write-WithPrompt|X:|Y:|Z:|Add-AppxPackage|Add-AppxProvisionedPackage|Add-AppxVolume|Add-BitsFile|Add-CertificateEnrollmentPolicyServer|Add-Computer|Add-Content|Add-History|Add-JobTrigger|Add-KdsRootKey|Add-LocalGroupMember|Add-Member|Add-PSSnapin|Add-Type|Add-WindowsCapability|Add-WindowsDriver|Add-WindowsImage|Add-WindowsPackage|Checkpoint-Computer|Clear-Content|Clear-EventLog|Clear-History|Clear-Item|Clear-ItemProperty|Clear-KdsCache|Clear-RecycleBin|Clear-Tpm|Clear-Variable|Clear-WindowsCorruptMountPoint|Compare-Object|Complete-BitsTransfer|Complete-DtcDiagnosticTransaction|Complete-Transaction|Confirm-SecureBootUEFI|Connect-PSSession|Connect-WSMan|ConvertFrom-Csv|ConvertFrom-Json|ConvertFrom-SecureString|ConvertFrom-String|ConvertFrom-StringData|Convert-Path|Convert-String|ConvertTo-Csv|ConvertTo-Html|ConvertTo-Json|ConvertTo-ProcessMitigationPolicy|ConvertTo-SecureString|ConvertTo-TpmOwnerAuth|ConvertTo-Xml|Copy-Item|Copy-ItemProperty|Debug-Job|Debug-Process|Debug-Runspace|Delete-DeliveryOptimizationCache|Disable-AppBackgroundTaskDiagnosticLog|Disable-ComputerRestore|Disable-JobTrigger|Disable-LocalUser|Disable-PSBreakpoint|Disable-PSRemoting|Disable-PSSessionConfiguration|Disable-RunspaceDebug|Disable-ScheduledJob|Disable-TlsCipherSuite|Disable-TlsEccCurve|Disable-TlsSessionTicketKey|Disable-TpmAutoProvisioning|Disable-WindowsErrorReporting|Disable-WindowsOptionalFeature|Disable-WSManCredSSP|Disconnect-PSSession|Disconnect-WSMan|Dismount-AppxVolume|Dismount-WindowsImage|Enable-AppBackgroundTaskDiagnosticLog|Enable-ComputerRestore|Enable-JobTrigger|Enable-LocalUser|Enable-PSBreakpoint|Enable-PSRemoting|Enable-PSSessionConfiguration|Enable-RunspaceDebug|Enable-ScheduledJob|Enable-TlsCipherSuite|Enable-TlsEccCurve|Enable-TlsSessionTicketKey|Enable-TpmAutoProvisioning|Enable-WindowsErrorReporting|Enable-WindowsOptionalFeature|Enable-WSManCredSSP|Enter-PSHostProcess|Enter-PSSession|Exit-PSHostProcess|Exit-PSSession|Expand-WindowsCustomDataImage|Expand-WindowsImage|Export-Alias|Export-BinaryMiLog|Export-Certificate|Export-Clixml|Export-Console|Export-Counter|Export-Csv|Export-FormatData|Export-ModuleMember|Export-PfxCertificate|Export-ProvisioningPackage|Export-PSSession|Export-StartLayout|Export-StartLayoutEdgeAssets|Export-TlsSessionTicketKey|Export-Trace|Export-WindowsCapabilitySource|Export-WindowsDriver|Export-WindowsImage|Find-Package|Find-PackageProvider|ForEach-Object|Format-Custom|Format-List|Format-SecureBootUEFI|Format-Table|Format-Wide|Get-Acl|Get-Alias|Get-AppxDefaultVolume|Get-AppxPackage|Get-AppxPackageManifest|Get-AppxProvisionedPackage|Get-AppxVolume|Get-AuthenticodeSignature|Get-BitsTransfer|Get-Certificate|Get-CertificateAutoEnrollmentPolicy|Get-CertificateEnrollmentPolicyServer|Get-CertificateNotificationTask|Get-ChildItem|Get-CimAssociatedInstance|Get-CimClass|Get-CimInstance|Get-CimSession|Get-Clipboard|Get-CmsMessage|Get-Command|Get-ComputerInfo|Get-ComputerRestorePoint|Get-Content|Get-ControlPanelItem|Get-Counter|Get-Credential|Get-Culture|Get-DAPolicyChange|Get-Date|Get-DeliveryOptimizationLog|Get-DeliveryOptimizationLogAnalysis|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-JobTrigger|Get-KdsConfiguration|Get-KdsRootKey|Get-LocalGroup|Get-LocalGroupMember|Get-LocalUser|Get-Location|Get-Member|Get-Module|Get-NonRemovableAppsPolicy|Get-Package|Get-PackageProvider|Get-PackageSource|Get-PfxCertificate|Get-PfxData|Get-PmemDisk|Get-PmemPhysicalDevice|Get-PmemUnusedRegion|Get-Process|Get-ProcessMitigation|Get-ProvisioningPackage|Get-PSBreakpoint|Get-PSCallStack|Get-PSDrive|Get-PSHostProcessInfo|Get-PSProvider|Get-PSReadLineKeyHandler|Get-PSReadLineOption|Get-PSSession|Get-PSSessionCapability|Get-PSSessionConfiguration|Get-PSSnapin|Get-Random|Get-Runspace|Get-RunspaceDebug|Get-ScheduledJob|Get-ScheduledJobOption|Get-SecureBootPolicy|Get-SecureBootUEFI|Get-Service|Get-TimeZone|Get-TlsCipherSuite|Get-TlsEccCurve|Get-Tpm|Get-TpmEndorsementKeyInfo|Get-TpmSupportedFeature|Get-TraceSource|Get-Transaction|Get-TroubleshootingPack|Get-TrustedProvisioningCertificate|Get-TypeData|Get-UICulture|Get-Unique|Get-Variable|Get-WheaMemoryPolicy|Get-WIMBootEntry|Get-WinAcceptLanguageFromLanguageListOptOut|Get-WinCultureFromLanguageListOptOut|Get-WinDefaultInputMethodOverride|Get-WindowsCapability|Get-WindowsDeveloperLicense|Get-WindowsDriver|Get-WindowsEdition|Get-WindowsErrorReporting|Get-WindowsImage|Get-WindowsImageContent|Get-WindowsOptionalFeature|Get-WindowsPackage|Get-WindowsReservedStorageState|Get-WindowsSearchSetting|Get-WinEvent|Get-WinHomeLocation|Get-WinLanguageBarOption|Get-WinSystemLocale|Get-WinUILanguageOverride|Get-WinUserLanguageList|Get-WmiObject|Get-WSManCredSSP|Get-WSManInstance|Group-Object|Import-Alias|Import-BinaryMiLog|Import-Certificate|Import-Clixml|Import-Counter|Import-Csv|Import-LocalizedData|Import-Module|Import-PackageProvider|Import-PfxCertificate|Import-PSSession|Import-StartLayout|Import-TpmOwnerAuth|Initialize-PmemPhysicalDevice|Initialize-Tpm|Install-Package|Install-PackageProvider|Install-ProvisioningPackage|Install-TrustedProvisioningCertificate|Invoke-CimMethod|Invoke-Command|Invoke-CommandInDesktopPackage|Invoke-DscResource|Invoke-Expression|Invoke-History|Invoke-Item|Invoke-RestMethod|Invoke-TroubleshootingPack|Invoke-WebRequest|Invoke-WmiMethod|Invoke-WSManAction|Join-DtcDiagnosticResourceManager|Join-Path|Limit-EventLog|Measure-Command|Measure-Object|Mount-AppxVolume|Mount-WindowsImage|Move-AppxPackage|Move-Item|Move-ItemProperty|New-Alias|New-CertificateNotificationTask|New-CimInstance|New-CimSession|New-CimSessionOption|New-DtcDiagnosticTransaction|New-Event|New-EventLog|New-FileCatalog|New-Item|New-ItemProperty|New-JobTrigger|New-LocalGroup|New-LocalUser|New-Module|New-ModuleManifest|New-NetIPsecAuthProposal|New-NetIPsecMainModeCryptoProposal|New-NetIPsecQuickModeCryptoProposal|New-Object|New-PmemDisk|New-ProvisioningRepro|New-PSDrive|New-PSRoleCapabilityFile|New-PSSession|New-PSSessionConfigurationFile|New-PSSessionOption|New-PSTransportOption|New-PSWorkflowExecutionOption|New-ScheduledJobOption|New-SelfSignedCertificate|New-Service|New-TimeSpan|New-TlsSessionTicketKey|New-Variable|New-WebServiceProxy|New-WindowsCustomImage|New-WindowsImage|New-WinEvent|New-WinUserLanguageList|New-WSManInstance|New-WSManSessionOption|Optimize-AppxProvisionedPackages|Optimize-WindowsImage|Out-Default|Out-File|Out-GridView|Out-Host|Out-Null|Out-Printer|Out-String|Pop-Location|Protect-CmsMessage|Publish-DscConfiguration|Push-Location|Read-Host|Receive-DtcDiagnosticTransaction|Receive-Job|Receive-PSSession|Register-ArgumentCompleter|Register-CimIndicationEvent|Register-EngineEvent|Register-ObjectEvent|Register-PackageSource|Register-PSSessionConfiguration|Register-ScheduledJob|Register-WmiEvent|Remove-AppxPackage|Remove-AppxProvisionedPackage|Remove-AppxVolume|Remove-BitsTransfer|Remove-CertificateEnrollmentPolicyServer|Remove-CertificateNotificationTask|Remove-CimInstance|Remove-CimSession|Remove-Computer|Remove-Event|Remove-EventLog|Remove-Item|Remove-ItemProperty|Remove-Job|Remove-JobTrigger|Remove-LocalGroup|Remove-LocalGroupMember|Remove-LocalUser|Remove-Module|Remove-PmemDisk|Remove-PSBreakpoint|Remove-PSDrive|Remove-PSReadLineKeyHandler|Remove-PSSession|Remove-PSSnapin|Remove-TypeData|Remove-Variable|Remove-WindowsCapability|Remove-WindowsDriver|Remove-WindowsImage|Remove-WindowsPackage|Remove-WmiObject|Remove-WSManInstance|Rename-Computer|Rename-Item|Rename-ItemProperty|Rename-LocalGroup|Rename-LocalUser|Repair-WindowsImage|Reset-ComputerMachinePassword|Resolve-DnsName|Resolve-Path|Restart-Computer|Restart-Service|Restore-Computer|Resume-BitsTransfer|Resume-Job|Resume-ProvisioningSession|Resume-Service|Save-Help|Save-Package|Save-WindowsImage|Select-Object|Select-String|Select-Xml|Send-DtcDiagnosticTransaction|Send-MailMessage|Set-Acl|Set-Alias|Set-AppBackgroundTaskResourcePolicy|Set-AppxDefaultVolume|Set-AppXProvisionedDataFile|Set-AuthenticodeSignature|Set-BitsTransfer|Set-CertificateAutoEnrollmentPolicy|Set-CimInstance|Set-Clipboard|Set-Content|Set-Culture|Set-Date|Set-DeliveryOptimizationStatus|Set-DODownloadMode|Set-DOPercentageMaxBackgroundBandwidth|Set-DOPercentageMaxForegroundBandwidth|Set-DscLocalConfigurationManager|Set-ExecutionPolicy|Set-Item|Set-ItemProperty|Set-JobTrigger|Set-KdsConfiguration|Set-LocalGroup|Set-LocalUser|Set-Location|Set-NonRemovableAppsPolicy|Set-PackageSource|Set-ProcessMitigation|Set-PSBreakpoint|Set-PSDebug|Set-PSReadLineKeyHandler|Set-PSReadLineOption|Set-PSSessionConfiguration|Set-ScheduledJob|Set-ScheduledJobOption|Set-SecureBootUEFI|Set-Service|Set-StrictMode|Set-TimeZone|Set-TpmOwnerAuth|Set-TraceSource|Set-Variable|Set-WheaMemoryPolicy|Set-WinAcceptLanguageFromLanguageListOptOut|Set-WinCultureFromLanguageListOptOut|Set-WinDefaultInputMethodOverride|Set-WindowsEdition|Set-WindowsProductKey|Set-WindowsReservedStorageState|Set-WindowsSearchSetting|Set-WinHomeLocation|Set-WinLanguageBarOption|Set-WinSystemLocale|Set-WinUILanguageOverride|Set-WinUserLanguageList|Set-WmiInstance|Set-WSManInstance|Set-WSManQuickConfig|Show-Command|Show-ControlPanelItem|Show-EventLog|Show-WindowsDeveloperLicenseRegistration|Sort-Object|Split-Path|Split-WindowsImage|Start-BitsTransfer|Start-DscConfiguration|Start-DtcDiagnosticResourceManager|Start-Job|Start-OSUninstall|Start-Process|Start-Service|Start-Sleep|Start-Transaction|Start-Transcript|Stop-Computer|Stop-DtcDiagnosticResourceManager|Stop-Job|Stop-Process|Stop-Service|Stop-Transcript|Suspend-BitsTransfer|Suspend-Job|Suspend-Service|Switch-Certificate|Tee-Object|Test-Certificate|Test-ComputerSecureChannel|Test-Connection|Test-DscConfiguration|Test-FileCatalog|Test-KdsRootKey|Test-ModuleManifest|Test-Path|Test-PSSessionConfigurationFile|Test-WSMan|Trace-Command|Unblock-File|Unblock-Tpm|Undo-DtcDiagnosticTransaction|Undo-Transaction|Uninstall-Package|Uninstall-ProvisioningPackage|Uninstall-TrustedProvisioningCertificate|Unprotect-CmsMessage|Unregister-Event|Unregister-PackageSource|Unregister-PSSessionConfiguration|Unregister-ScheduledJob|Unregister-WindowsDeveloperLicense|Update-DscConfiguration|Update-FormatData|Update-Help|Update-List|Update-TypeData|Update-WIMBootEntry|Use-Transaction|Use-WindowsUnattend|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)\>"
## Functions
icolor brightyellow "\<function\>"
## Comparison operators
icolor brightyellow "-\<(eq|ne|gt|lt|ge|le|like|notlike|match|notmatch|contains|notcontains|in|notin|replace|is|isnot)\>"
## Variables
icolor brightred "\$[a-zA-Z0-9_]+"
## Statements
icolor brightcyan "\<(if|do|else|elseif|for|foreach|switch|until|while)\>"
## Comments
color brightblue "#.*$"
color brightblue start="<#" end="#>"
## Quoted text
color brightwhite "\"[^\"]*\""
color brightwhite "'[^']*'"
## Text between %'s and @'s
icolor brightmagenta "\%[^\%]*\%"
icolor brightmagenta start="@\"" end="\"@"
## Trailing whitespace
color ,green "[[:space:]]+$"