Бележка
Достъпът до тази страница изисква удостоверяване. Можете да опитате да влезете или да промените директориите.
Достъпът до тази страница изисква удостоверяване. Можете да опитате да промените директориите.
This article lists the modules and cmdlets that are included in various versions of PowerShell. This is a summary of information found in the release notes. More detailed information can be found in the release notes:
- What's new in PowerShell 7.5
- What's new in PowerShell 7.4
- What's new in PowerShell 7.3
- What's new in PowerShell 7.2
- What's new in PowerShell 7.1
- What's new in PowerShell 7.0
This is a work in progress. Please help us keep this information fresh.
Module release history
Cmdlet release history
CimCmdlets
| Cmdlet name | 5.1 | 7.4 and higher | Note |
|---|---|---|---|
| Export-BinaryMiLog | Windows only | ||
| Get-CimAssociatedInstance | Windows only | ||
| Get-CimClass | Windows only | ||
| Get-CimInstance | Windows only | ||
| Get-CimSession | Windows only | ||
| Import-BinaryMiLog | Windows only | ||
| Invoke-CimMethod | Windows only | ||
| New-CimInstance | Windows only | ||
| New-CimSession | Windows only | ||
| New-CimSessionOption | Windows only | ||
| Register-CimIndicationEvent | Windows only | ||
| Remove-CimInstance | Windows only | ||
| Remove-CimSession | Windows only | ||
| Set-CimInstance | Windows only |
ISE (introduced in 2.0)
This modules is only available in Windows PowerShell.
| Cmdlet name | 5.1 | Note |
|---|---|---|
| Get-IseSnippet | ||
| Import-IseSnippet | ||
| New-IseSnippet |
Microsoft.PowerShell.Archive
| Cmdlet name | 5.1 | 7.4 and higher | Note |
|---|---|---|---|
| Compress-Archive | |||
| Expand-Archive |
Microsoft.PowerShell.Core
| Cmdlet name | 5.1 | 7.4 and higher | Note |
|---|---|---|---|
| Add-History | |||
| Add-PSSnapin | Windows only | ||
| Clear-History | |||
| Clear-Host | |||
| Connect-PSSession | Windows only | ||
| Debug-Job | |||
| Disable-ExperimentalFeature | Added in 6.2 | ||
| Disable-PSRemoting | Windows only | ||
| Disable-PSSessionConfiguration | Windows only | ||
| Disconnect-PSSession | Windows only | ||
| Enable-ExperimentalFeature | Added in 6.2 | ||
| Enable-PSRemoting | Windows only | ||
| Enable-PSSessionConfiguration | Windows only | ||
| Enter-PSHostProcess | Added Linux support in 6.2 | ||
| Enter-PSSession | |||
| Exit-PSHostProcess | Added Linux support in 6.2 | ||
| Exit-PSSession | |||
| Export-Console | Windows only | ||
| Export-ModuleMember | |||
| ForEach-Object | |||
| Get-Command | |||
| Get-ExperimentalFeature | Added in 6.2 | ||
| Get-Help | |||
| Get-History | |||
| Get-Job | |||
| Get-Module | |||
| Get-PSHostProcessInfo | Added Linux support in 6.2 | ||
| Get-PSSession | |||
| Get-PSSessionCapability | |||
| Get-PSSessionConfiguration | |||
| Get-PSSnapin | Windows only | ||
| Get-Verb | Moved to Microsoft.PowerShell.Utility 6.0+ | ||
| Import-Module | |||
| Invoke-Command | |||
| Invoke-History | |||
| New-Module | |||
| New-ModuleManifest | |||
| New-PSRoleCapabilityFile | |||
| New-PSSession | |||
| New-PSSessionConfigurationFile | Added Linux support in 7.3 | ||
| New-PSSessionOption | |||
| New-PSTransportOption | |||
| Out-Default | |||
| Out-Host | |||
| Out-Null | |||
| Receive-Job | |||
| Receive-PSSession | Windows only | ||
| Register-ArgumentCompleter | |||
| Register-PSSessionConfiguration | Windows only | ||
| Remove-Job | |||
| Remove-Module | |||
| Remove-PSSession | |||
| Remove-PSSnapin | Windows only | ||
| Resume-Job | |||
| Save-Help | |||
| Set-PSDebug | |||
| Set-PSSessionConfiguration | Windows only | ||
| Set-StrictMode | |||
| Start-Job | |||
| Stop-Job | |||
| Switch-Process | Linux and macOS only | ||
| Suspend-Job | Windows only | ||
| Test-ModuleManifest | |||
| Test-PSSessionConfigurationFile | Windows only | ||
| Unregister-PSSessionConfiguration | Windows only | ||
| Update-Help | |||
| Wait-Job | |||
| Where-Object |
Microsoft.PowerShell.Diagnostics
| Cmdlet name | 5.1 | 7.4 and higher | Note |
|---|---|---|---|
| Export-Counter | Windows only | ||
| Get-Counter | Windows only | ||
| Get-WinEvent | Windows only | ||
| Import-Counter | Windows only | ||
| New-WinEvent | Windows only |
Microsoft.PowerShell.Host
| Cmdlet name | 5.1 | 7.4 and higher | Note |
|---|---|---|---|
| Start-Transcript | |||
| Stop-Transcript |
Microsoft.PowerShell.LocalAccounts (64-bit only)
This modules is only available in Windows PowerShell.
| Cmdlet name | 5.1 | Note |
|---|---|---|
| Add-LocalGroupMember | ||
| Disable-LocalUser | ||
| Enable-LocalUser | ||
| Get-LocalGroup | ||
| Get-LocalGroupMember | ||
| Get-LocalUser | ||
| New-LocalGroup | ||
| New-LocalUser | ||
| Remove-LocalGroup | ||
| Remove-LocalGroupMember | ||
| Remove-LocalUser | ||
| Rename-LocalGroup | ||
| Rename-LocalUser | ||
| Set-LocalGroup | ||
| Set-LocalUser |
Microsoft.PowerShell.Management
| Cmdlet name | 5.1 | 7.4 and higher | Note |
|---|---|---|---|
| Add-Computer | Windows only | ||
| Add-Content | |||
| Checkpoint-Computer | Windows only | ||
| Clear-Content | |||
| Clear-EventLog | Windows only | ||
| Clear-Item | |||
| Clear-ItemProperty | |||
| Clear-RecycleBin | Windows only | ||
| Complete-Transaction | Windows only | ||
| Convert-Path | |||
| Copy-Item | |||
| Copy-ItemProperty | |||
| Debug-Process | |||
| Disable-ComputerRestore | Windows only | ||
| Enable-ComputerRestore | Windows only | ||
| Get-ChildItem | |||
| Get-Clipboard | |||
| Get-ComputerInfo | Windows only | ||
| Get-ComputerRestorePoint | Windows only | ||
| Get-Content | |||
| Get-ControlPanelItem | Windows only | ||
| Get-EventLog | Windows only | ||
| Get-HotFix | Windows only | ||
| Get-Item | |||
| Get-ItemProperty | |||
| Get-ItemPropertyValue | |||
| Get-Location | |||
| Get-Process | |||
| Get-PSDrive | |||
| Get-PSProvider | |||
| Get-Service | Windows only | ||
| Get-TimeZone | Windows only | ||
| Get-Transaction | Windows only | ||
| Get-WmiObject | Windows only | ||
| Invoke-Item | |||
| Invoke-WmiMethod | Windows only | ||
| Join-Path | |||
| Limit-EventLog | Windows only | ||
| Move-Item | |||
| Move-ItemProperty | |||
| New-EventLog | Windows only | ||
| New-Item | |||
| New-ItemProperty | |||
| New-PSDrive | |||
| New-Service | Windows only | ||
| New-WebServiceProxy | Windows only | ||
| Pop-Location | |||
| Push-Location | |||
| Register-WmiEvent | Windows only | ||
| Remove-Computer | Windows only | ||
| Remove-EventLog | Windows only | ||
| Remove-Item | |||
| Remove-ItemProperty | |||
| Remove-PSDrive | |||
| Remove-Service | Windows only | ||
| Remove-WmiObject | Windows only | ||
| Rename-Computer | Windows only | ||
| Rename-Item | |||
| Rename-ItemProperty | |||
| Reset-ComputerMachinePassword | Windows only | ||
| Resolve-Path | |||
| Restart-Computer | Added Linux/macOS support in 7.1 | ||
| Restart-Service | Windows only | ||
| Restore-Computer | Windows only | ||
| Resume-Service | Windows only | ||
| Set-Clipboard | |||
| Set-Content | |||
| Set-Item | |||
| Set-ItemProperty | |||
| Set-Location | |||
| Set-Service | Windows only | ||
| Set-TimeZone | Windows only | ||
| Set-WmiInstance | Windows only | ||
| Show-ControlPanelItem | Windows only | ||
| Show-EventLog | Windows only | ||
| Split-Path | |||
| Start-Process | |||
| Start-Service | Windows only | ||
| Start-Transaction | Windows only | ||
| Stop-Computer | Added Linux/macOS support in 7.1 | ||
| Stop-Process | |||
| Stop-Service | Windows only | ||
| Suspend-Service | Windows only | ||
| Test-ComputerSecureChannel | Windows only | ||
| Test-Connection | |||
| Test-Path | |||
| Undo-Transaction | Windows only | ||
| Use-Transaction | Windows only | ||
| Wait-Process | |||
| Write-EventLog | Windows only |
Microsoft.PowerShell.ODataUtils
This modules is only available in Windows PowerShell.
| Cmdlet name | 5.1 | Note |
|---|---|---|
| Export-ODataEndpointProxy |
Microsoft.PowerShell.Operation.Validation
This modules is only available in Windows PowerShell.
| Cmdlet name | 5.1 | Note |
|---|---|---|
| Get-OperationValidation | ||
| Invoke-OperationValidation |
Microsoft.PowerShell.PSResourceGet
| Cmdlet name | 7.4 and higher | Note |
|---|---|---|
| Compress-PSResource | Added in v1.1.0 of the module | |
| Find-PSResource | ||
| Get-InstalledPSResource | ||
| Get-PSResource | ||
| Get-PSResourceRepository | ||
| Get-PSScriptFileInfo | ||
| Import-PSGetRepository | ||
| Install-PSResource | ||
| New-PSScriptFileInfo | ||
| Publish-PSResource | ||
| Register-PSResourceRepository | ||
| Save-PSResource | ||
| Set-PSResourceRepository | ||
| Test-PSScriptFileInfo | ||
| Uninstall-PSResource | ||
| Unregister-PSResourceRepository | ||
| Update-PSModuleManifest | ||
| Update-PSResource | ||
| Update-PSScriptFileInfo |
Microsoft.PowerShell.Security
| Cmdlet name | 5.1 | 7.4 and higher | Note |
|---|---|---|---|
| ConvertFrom-SecureString | |||
| ConvertTo-SecureString | |||
| Get-Acl | Windows only | ||
| Get-AuthenticodeSignature | Windows only | ||
| Get-CmsMessage | Support for Linux/macOS added in 7.1 | ||
| Get-Credential | |||
| Get-ExecutionPolicy | Returns Unrestricted on Linux/macOS | ||
| Get-PfxCertificate | |||
| New-FileCatalog | Windows only | ||
| Protect-CmsMessage | Support for Linux/macOS added in 7.1 | ||
| Set-Acl | Windows only | ||
| Set-AuthenticodeSignature | Windows only | ||
| Set-ExecutionPolicy | Does nothing on Linux/macOS | ||
| Test-FileCatalog | Windows only | ||
| Unprotect-CmsMessage | Support for Linux/macOS added in 7.1 |
Microsoft.PowerShell.Utility
| Cmdlet name | 5.1 | 7.4 and higher | Note |
|---|---|---|---|
| Add-Member | |||
| Add-Type | |||
| Clear-Variable | |||
| Compare-Object | |||
| Convert-String | |||
| ConvertFrom-CliXml | Added in 7.5 | ||
| ConvertFrom-Csv | |||
| ConvertFrom-Json | |||
| ConvertFrom-Markdown | Added in 6.1 | ||
| ConvertFrom-SddlString | Windows only | ||
| ConvertFrom-String | |||
| ConvertFrom-StringData | |||
| ConvertTo-CliXml | Added in 7.5 | ||
| ConvertTo-Csv | |||
| ConvertTo-Html | |||
| ConvertTo-Json | |||
| ConvertTo-Xml | |||
| Debug-Runspace | |||
| Disable-PSBreakpoint | |||
| Disable-RunspaceDebug | |||
| Enable-PSBreakpoint | |||
| Enable-RunspaceDebug | |||
| Export-Alias | |||
| Export-Clixml | |||
| Export-Csv | |||
| Export-FormatData | |||
| Export-PSSession | |||
| Format-Custom | |||
| Format-Hex | |||
| Format-List | |||
| Format-Table | |||
| Format-Wide | |||
| Get-Alias | |||
| Get-Culture | |||
| Get-Date | |||
| Get-Error | |||
| Get-Event | No event sources available on Linux/macOS | ||
| Get-EventSubscriber | |||
| Get-FileHash | |||
| Get-FormatData | |||
| Get-Host | |||
| Get-MarkdownOption | Added in 6.1 | ||
| Get-Member | |||
| Get-PSBreakpoint | |||
| Get-PSCallStack | |||
| Get-Random | |||
| Get-Runspace | |||
| Get-RunspaceDebug | |||
| Get-SecureRandom | Added in 7.4 | ||
| Get-TraceSource | |||
| Get-TypeData | |||
| Get-UICulture | |||
| Get-Unique | |||
| Get-Uptime | |||
| Get-Variable | |||
| Get-Verb | Moved from Microsoft.PowerShell.Core | ||
| Group-Object | |||
| Import-Alias | |||
| Import-Clixml | |||
| Import-Csv | |||
| Import-LocalizedData | |||
| Import-PowerShellDataFile | |||
| Import-PSSession | |||
| Invoke-Expression | |||
| Invoke-RestMethod | |||
| Invoke-WebRequest | |||
| Join-String | |||
| Measure-Command | |||
| Measure-Object | |||
| New-Alias | |||
| New-Event | No event sources available on Linux/macOS | ||
| New-Guid | |||
| New-Object | |||
| New-TemporaryFile | |||
| New-TimeSpan | |||
| New-Variable | |||
| Out-File | |||
| Out-GridView | Windows only | ||
| Out-Printer | Windows only | ||
| Out-String | |||
| Read-Host | |||
| Register-EngineEvent | No event sources available on Linux/macOS | ||
| Register-ObjectEvent | |||
| Remove-Alias | |||
| Remove-Event | No event sources available on Linux/macOS | ||
| Remove-PSBreakpoint | |||
| Remove-TypeData | |||
| Remove-Variable | |||
| Select-Object | |||
| Select-String | |||
| Select-Xml | |||
| Send-MailMessage | |||
| Set-Alias | |||
| Set-Date | |||
| Set-MarkdownOption | Added in 6.1 | ||
| Set-PSBreakpoint | |||
| Set-TraceSource | |||
| Set-Variable | |||
| Show-Command | Windows only | ||
| Show-Markdown | Added in 6.1 | ||
| Sort-Object | |||
| Start-Sleep | |||
| Tee-Object | |||
| Test-Json | |||
| Trace-Command | |||
| Unblock-File | Added support for macOS in 7.0 | ||
| Unregister-Event | No event sources available on Linux/macOS | ||
| Update-FormatData | |||
| Update-List | |||
| Update-TypeData | |||
| Wait-Debugger | |||
| Wait-Event | |||
| Write-Debug | |||
| Write-Error | |||
| Write-Host | |||
| Write-Information | |||
| Write-Output | |||
| Write-Progress | |||
| Write-Verbose | |||
| Write-Warning |
Microsoft.WsMan.Management
| Cmdlet name | 5.1 | 7.4 and higher | Note |
|---|---|---|---|
| Connect-WSMan | Windows only | ||
| Disable-WSManCredSSP | Windows only | ||
| Disconnect-WSMan | Windows only | ||
| Enable-WSManCredSSP | Windows only | ||
| Get-WSManCredSSP | Windows only | ||
| Get-WSManInstance | Windows only | ||
| Invoke-WSManAction | Windows only | ||
| New-WSManInstance | Windows only | ||
| New-WSManSessionOption | Windows only | ||
| Remove-WSManInstance | Windows only | ||
| Set-WSManInstance | Windows only | ||
| Set-WSManQuickConfig | Windows only | ||
| Test-WSMan | Windows only |
PackageManagement
| Cmdlet name | 5.1 | 7.4 and higher | Note |
|---|---|---|---|
| Find-Package | |||
| Find-PackageProvider | |||
| Get-Package | |||
| Get-PackageProvider | |||
| Get-PackageSource | |||
| Import-PackageProvider | |||
| Install-Package | |||
| Install-PackageProvider | |||
| Register-PackageSource | |||
| Save-Package | |||
| Set-PackageSource | |||
| Uninstall-Package | |||
| Unregister-PackageSource |
PowerShellGet 2.x
| Cmdlet name | 5.1 | 7.4 and higher | Note |
|---|---|---|---|
| Find-Command | |||
| Find-DscResource | |||
| Find-Module | |||
| Find-RoleCapability | |||
| Find-Script | |||
| Get-CredsFromCredentialProvider | |||
| Get-InstalledModule | |||
| Get-InstalledScript | |||
| Get-PSRepository | |||
| Install-Module | |||
| Install-Script | |||
| New-ScriptFileInfo | |||
| 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 |
PSDesiredStateConfiguration v1.1
This modules is only available from in Windows PowerShell.
| Cmdlet name | 5.1 | Note |
|---|---|---|
| Configuration | ||
| Disable-DscDebug | ||
| Enable-DscDebug | ||
| Get-DscConfiguration | ||
| Get-DscConfigurationStatus | ||
| Get-DscLocalConfigurationManager | ||
| Get-DscResource | ||
| Invoke-DscResource | ||
| New-DSCCheckSum | ||
| Publish-DscConfiguration | ||
| Remove-DscConfigurationDocument | ||
| Restore-DscConfiguration | ||
| Set-DscLocalConfigurationManager | ||
| Start-DscConfiguration | ||
| Stop-DscConfiguration | ||
| Test-DscConfiguration | ||
| Update-DscConfiguration |
PSDesiredStateConfiguration v2.0.5
This modules is only available from the PowerShell Gallery.
| Cmdlet name | 2.0.5 | Note |
|---|---|---|
| Configuration | ||
| Get-DscResource | ||
| Invoke-DscResource | Experimental | |
| New-DSCCheckSum |
PSDesiredStateConfiguration v3.x - Preview
This modules is only available from the PowerShell Gallery.
| Cmdlet name | 3.0 (preview) | Note |
|---|---|---|
| Configuration | ||
| ConvertTo-DscJsonSchema | ||
| Get-DscResource | ||
| Invoke-DscResource | ||
| New-DscChecksum |
PSDiagnostics
| Cmdlet name | 5.1 | 7.4 and higher | Note |
|---|---|---|---|
| Disable-PSTrace | Windows only | ||
| Disable-PSWSManCombinedTrace | Windows only | ||
| Disable-WSManTrace | Windows only | ||
| Enable-PSTrace | Windows only | ||
| Enable-PSWSManCombinedTrace | Windows only | ||
| Enable-WSManTrace | Windows only | ||
| Get-LogProperties | Windows only | ||
| Set-LogProperties | Windows only | ||
| Start-Trace | Windows only | ||
| Stop-Trace | Windows only |
PSReadLine
| Cmdlet name | 5.1 | 7.4 and higher | Note |
|---|---|---|---|
| Get-PSReadLineKeyHandler | |||
| Get-PSReadLineOption | |||
| PSConsoleHostReadLine | |||
| Remove-PSReadLineKeyHandler | |||
| Set-PSReadLineKeyHandler | |||
| Set-PSReadLineOption |
PSScheduledJob
This modules is only available in Windows PowerShell.
| Cmdlet name | 5.1 | Note |
|---|---|---|
| Add-JobTrigger | ||
| Disable-JobTrigger | ||
| Disable-ScheduledJob | ||
| Enable-JobTrigger | ||
| Enable-ScheduledJob | ||
| Get-JobTrigger | ||
| Get-ScheduledJob | ||
| Get-ScheduledJobOption | ||
| New-JobTrigger | ||
| New-ScheduledJobOption | ||
| Register-ScheduledJob | ||
| Remove-JobTrigger | ||
| Set-JobTrigger | ||
| Set-ScheduledJob | ||
| Set-ScheduledJobOption | ||
| Unregister-ScheduledJob |
PSWorkflow & PSWorkflowUtility
This modules is only available in Windows PowerShell.
| Cmdlet name | 5.1 | Note |
|---|---|---|
| New-PSWorkflowExecutionOption | ||
| New-PSWorkflowSession | ||
| Invoke-AsWorkflow |
Microsoft.PowerShell.ThreadJob (formerly ThreadJob)
This module can be installed from the PowerShell Gallery on any supported version of PowerShell. The ThreadJob module was initially included in PowerShell 6.0. The ThreadJob module was renamed to Microsoft.PowerShell.ThreadJob in PowerShell 7.6.
| Cmdlet name | 5.1 | 7.4 and higher | Note |
|---|---|---|---|
| Start-ThreadJob |