Versionshistorik för moduler och cmdletar

I den här artikeln visas de moduler och cmdletar som ingår i olika versioner av PowerShell. Det här är en sammanfattning av informationen som finns i viktig information. Mer detaljerad information finns i viktig information:

Detta är ett pågående arbete. Hjälp oss att hålla den här informationen färsk.

Versionshistorik för modul

ModuleName/PSVersion 5,1 7.0 7.2 7.3 Anteckning
CimCmdlets Endast Windows
ISE (introducerades i 2.0) Endast Windows
Microsoft.PowerShell.Archive
Microsoft.PowerShell.Core
Microsoft.PowerShell.Diagnostics Endast Windows
Microsoft.PowerShell.Host
Microsoft.PowerShell.LocalAccounts Endast Windows (endast 64-bitars)
Microsoft.PowerShell.Management
Microsoft.PowerShell.ODataUtils Endast Windows
Microsoft.PowerShell.Operation.Validation Endast Windows
Microsoft.PowerShell.Security
Microsoft.PowerShell.Utility
Microsoft.WsMan.Management Endast Windows
PackageManagement
PowershellGet 2.x v1.1 Nya versioner som är tillgängliga från galleriet
PowershellGet 3.x Tillgängligt från galleriet
PSDesiredStateConfiguration 2.x Har tagits bort i 7.2 – tillgängligt från galleriet
PSDesiredStateConfiguration 3.x Förhandsversion tillgänglig från galleriet
PSDiagnostics Endast Windows
PSReadLine v1.x v2.0 v2.1 v2.1 Nya versioner som är tillgängliga från galleriet
PSScheduledJob Endast Windows
PSWorkflow Endast Windows
PSWorkflowUtility Endast Windows
ThreadJob Kan installeras i PowerShell 5.1

Versionshistorik för cmdlet

CimCmdlets

Cmdlet-namn 5,1 7.0 7.2 7.3 Anteckning
Export-BinaryMiLog Endast Windows
Get-CimAssociatedInstance Endast Windows
Get-CimClass Endast Windows
Get-CimInstance Endast Windows
Get-CimSession Endast Windows
Import-BinaryMiLog Endast Windows
Invoke-CimMethod Endast Windows
New-CimInstance Endast Windows
New-CimSession Endast Windows
New-CimSessionOption Endast Windows
Register-CimIndicationEvent Endast Windows
Remove-CimInstance Endast Windows
Remove-CimSession Endast Windows
Set-CimInstance Endast Windows

ISE (introducerades i 2.0)

Cmdlet-namn 5,1 7.0 7.2 7.3 Anteckning
Get-IseSnippet Endast Windows
Import-IseSnippet Endast Windows
New-IseSnippet Endast Windows

Microsoft.PowerShell.Archive

Cmdlet-namn 5,1 7.0 7.2 7.3 Anteckning
Compress-Archive
Expand-Archive

Microsoft.PowerShell.Core

Cmdlet-namn 5,1 7.0 7.2 7.3 Anteckning
Add-History
Add-PSSnapin Endast Windows
Clear-History
Clear-Host
Connect-PSSession Endast Windows
Debug-Job
Disable-ExperimentalFeature Lade till i 6.2
Disable-PSRemoting Endast Windows
Disable-PSSessionConfiguration Endast Windows
Disconnect-PSSession Endast Windows
Enable-ExperimentalFeature Lade till i 6.2
Enable-PSRemoting Endast Windows
Enable-PSSessionConfiguration Endast Windows
Enter-PSHostProcess Linux-stöd har lagts till i 6.2
Enter-PSSession
Exit-PSHostProcess Linux-stöd har lagts till i 6.2
Exit-PSSession
Export-Console Endast Windows
Export-ModuleMember
ForEach-Object
Get-Command
Get-ExperimentalFeature Lade till i 6.2
Get-Help
Get-History
Get-Job
Get-Module
Get-PSHostProcessInfo Linux-stöd har lagts till i 6.2
Get-PSSession
Get-PSSessionCapability
Get-PSSessionConfiguration
Get-PSSnapin Endast Windows
Get-Verb Flyttade till Microsoft.PowerShell.Utility 6.0+
Import-Module
Invoke-Command
Invoke-History
New-Module
New-ModuleManifest
New-PSRoleCapabilityFile
New-PSSession
New-PSSessionConfigurationFile Stöd för Linux har lagts till i 7.3
New-PSSessionOption
New-PSTransportOption
Out-Default
Out-Host
Out-Null
Receive-Job
Receive-PSSession Endast Windows
Register-ArgumentCompleter
Register-PSSessionConfiguration Endast Windows
Remove-Job
Remove-Module
Remove-PSSession
Remove-PSSnapin Endast Windows
Resume-Job
Save-Help
Set-PSDebug
Set-PSSessionConfiguration Endast Windows
Set-StrictMode
Start-Job
Stop-Job
Suspend-Job Endast Windows
Test-ModuleManifest
Test-PSSessionConfigurationFile Endast Windows
Unregister-PSSessionConfiguration Endast Windows
Update-Help
Wait-Job
Where-Object

Microsoft.PowerShell.Diagnostics

Cmdlet-namn 5,1 7.0 7.2 7.3 Anteckning
Export-Counter Endast Windows
Get-Counter Endast Windows
Get-WinEvent Endast Windows
Import-Counter Endast Windows
New-WinEvent Endast Windows

Microsoft.PowerShell.Host

Cmdlet-namn 5,1 7.0 7.2 7.3 Anteckning
Start-Transcript
Stop-Transcript

Microsoft.PowerShell.LocalAccounts (endast 64-bitars)

Cmdlet-namn 5,1 7.0 7.2 7.3 Anteckning
Add-LocalGroupMember Endast Windows
Disable-LocalUser Endast Windows
Enable-LocalUser Endast Windows
Get-LocalGroup Endast Windows
Get-LocalGroupMember Endast Windows
Get-LocalUser Endast Windows
New-LocalGroup Endast Windows
New-LocalUser Endast Windows
Remove-LocalGroup Endast Windows
Remove-LocalGroupMember Endast Windows
Remove-LocalUser Endast Windows
Rename-LocalGroup Endast Windows
Rename-LocalUser Endast Windows
Set-LocalGroup Endast Windows
Set-LocalUser Endast Windows

Microsoft.PowerShell.Management

Cmdlet-namn 5,1 7.0 7.2 7.3 Anteckning
Add-Computer Endast Windows
Add-Content
Checkpoint-Computer Endast Windows
Clear-Content
Clear-EventLog Endast Windows
Clear-Item
Clear-ItemProperty
Clear-RecycleBin Endast Windows
Complete-Transaction Endast Windows
Convert-Path
Copy-Item
Copy-ItemProperty
Debug-Process
Disable-ComputerRestore Endast Windows
Enable-ComputerRestore Endast Windows
Get-ChildItem
Get-Clipboard Stöds inte påmacOS
Get-ComputerInfo Endast Windows
Get-ComputerRestorePoint Endast Windows
Get-Content
Get-ControlPanelItem Endast Windows
Get-EventLog Endast Windows
Get-HotFix Endast Windows
Get-Item
Get-ItemProperty
Get-ItemPropertyValue
Get-Location
Get-Process
Get-PSDrive
Get-PSProvider
Get-Service Endast Windows
Get-TimeZone Endast Windows
Get-Transaction Endast Windows
Get-WmiObject Endast Windows
Invoke-Item
Invoke-WmiMethod Endast Windows
Join-Path
Limit-EventLog Endast Windows
Move-Item
Move-ItemProperty
New-EventLog Endast Windows
New-Item
New-ItemProperty
New-PSDrive
New-Service Endast Windows
New-WebServiceProxy Endast Windows
Pop-Location
Push-Location
Register-WmiEvent Endast Windows
Remove-Computer Endast Windows
Remove-EventLog Endast Windows
Remove-Item
Remove-ItemProperty
Remove-PSDrive
Remove-Service Endast Windows
Remove-WmiObject Endast Windows
Rename-Computer Endast Windows
Rename-Item
Rename-ItemProperty
Reset-ComputerMachinePassword Endast Windows
Resolve-Path
Restart-Computer Stöd för Linux/macOS har lagts till i 7.1
Restart-Service Endast Windows
Restore-Computer Endast Windows
Resume-Service Endast Windows
Set-Clipboard
Set-Content
Set-Item
Set-ItemProperty
Set-Location
Set-Service Endast Windows
Set-TimeZone Endast Windows
Set-WmiInstance Endast Windows
Show-ControlPanelItem Endast Windows
Show-EventLog Endast Windows
Split-Path
Start-Process
Start-Service Endast Windows
Start-Transaction Endast Windows
Stop-Computer Stöd för Linux/macOS har lagts till i 7.1
Stop-Process
Stop-Service Endast Windows
Suspend-Service Endast Windows
Test-ComputerSecureChannel Endast Windows
Test-Connection
Test-Path
Undo-Transaction Endast Windows
Use-Transaction Endast Windows
Wait-Process Fungerar inte på Linux/macOS
Write-EventLog Endast Windows

Microsoft.PowerShell.ODataUtils

Cmdlet-namn 5,1 7.0 7.2 7.3 Anteckning
Export-ODataEndpointProxy Endast Windows

Microsoft.PowerShell.Operation.Validation

Cmdlet-namn 5,1 7.0 7.2 7.3 Anteckning
Get-OperationValidation Endast Windows
Invoke-OperationValidation Endast Windows

Microsoft.PowerShell.Security

Cmdlet-namn 5,1 7.0 7.2 7.3 Anteckning
ConvertFrom-SecureString
ConvertTo-SecureString
Get-Acl Endast Windows
Get-AuthenticodeSignature Endast Windows
Get-CmsMessage Stöd för Linux/macOS som lagts till i 7.1
Get-Credential
Get-ExecutionPolicy Returnerar Obegränsad i Linux/macOS
Get-PfxCertificate
New-FileCatalog Endast Windows
Protect-CmsMessage Stöd för Linux/macOS som lagts till i 7.1
Set-Acl Endast Windows
Set-AuthenticodeSignature Endast Windows
Set-ExecutionPolicy Gör ingenting på Linux/macOS
Test-FileCatalog Endast Windows
Unprotect-CmsMessage Stöd för Linux/macOS som lagts till i 7.1

Microsoft.PowerShell.Utility

Cmdlet-namn 5,1 7.0 7.2 7.3 Anteckning
Add-Member
Add-Type
Clear-Variable
Compare-Object
ConvertFrom-Csv
ConvertFrom-Json
ConvertFrom-Markdown Lade till i 6.1
ConvertFrom-SddlString Endast Windows
ConvertFrom-String
ConvertFrom-StringData
Convert-String
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 Inga tillgängliga händelsekällor i Linux/macOS
Get-EventSubscriber
Get-FileHash
Get-FormatData
Get-Host
Get-MarkdownOption Lade till i 6.1
Get-Member
Get-PSBreakpoint
Get-PSCallStack
Get-Random
Get-Runspace
Get-RunspaceDebug
Get-TraceSource
Get-TypeData
Get-UICulture
Get-Unique
Get-Uptime
Get-Variable
Get-Verb Flyttade från 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 Inga tillgängliga händelsekällor i Linux/macOS
New-Guid
New-Object
New-TemporaryFile
New-TimeSpan
New-Variable
Out-File
Out-GridView Endast Windows
Out-Printer Endast Windows
Out-String
Read-Host
Register-EngineEvent Inga tillgängliga händelsekällor i Linux/macOS
Register-ObjectEvent
Remove-Alias
Remove-Event Inga tillgängliga händelsekällor i Linux/macOS
Remove-PSBreakpoint
Remove-TypeData
Remove-Variable
Select-Object
Select-String
Select-Xml
Send-MailMessage
Set-Alias
Set-Date
Set-MarkdownOption Lade till i 6.1
Set-PSBreakpoint
Set-TraceSource
Set-Variable
Show-Command Endast Windows
Show-Markdown Lade till i 6.1
Sort-Object
Start-Sleep
Tee-Object
Test-Json
Trace-Command
Unblock-File Stöd har lagts till för macOS i 7.0
Unregister-Event Inga händelsekällor är tillgängliga i 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-namn 5,1 7.0 7.2 7.3 Anteckning
Connect-WSMan Endast Windows
Disable-WSManCredSSP Endast Windows
Disconnect-WSMan Endast Windows
Enable-WSManCredSSP Endast Windows
Get-WSManCredSSP Endast Windows
Get-WSManInstance Endast Windows
Invoke-WSManAction Endast Windows
New-WSManInstance Endast Windows
New-WSManSessionOption Endast Windows
Remove-WSManInstance Endast Windows
Set-WSManInstance Endast Windows
Set-WSManQuickConfig Endast Windows
Test-WSMan Endast Windows

PackageManagement

Cmdlet-namn 5,1 7.0 7.2 7.3 Anteckning
Find-Package
Find-PackageProvider
Get-Package
Get-PackageProvider
Get-PackageSource
Import-PackageProvider
Installationspaket
Install-PackageProvider
Register-PackageSource
Save-Package
Set-PackageSource
Uninstall-Package
Unregister-PackageSource

PowershellGet 2.x

Cmdlet-namn 5,1 7.0 7.2 7.3 Anteckning
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

PowershellGet 3.x – förhandsversion

Name Anteckning
Find-PSResource
Get-InstalledPSResource
Get-PSResourceRepository
Install-PSResource
Publish-PSResource
Register-PSResourceRepository
Save-PSResource
Set-PSResourceRepository
Uninstall-PSResource
Unregister-PSResourceRepository
Update-PSResource

PSDesiredStateConfiguration v2.x

Cmdlet-namn 5,1 7.0 7.2 7.3 Anteckning
Konfiguration
Disable-DscDebug Endast Windows
Enable-DscDebug Endast Windows
Get-DscConfiguration Endast Windows
Get-DscConfigurationStatus Endast Windows
Get-DscLocalConfigurationManager Endast Windows
Get-DscResource
Invoke-DscResource Experimentell
New-DSCCheckSum
Publish-DscConfiguration Endast Windows
Remove-DscConfigurationDocument Endast Windows
Restore-DscConfiguration Endast Windows
Set-DscLocalConfigurationManager Endast Windows
Start-DscConfiguration Endast Windows
Stop-DscConfiguration Endast Windows
Test-DscConfiguration Endast Windows
Update-DscConfiguration Endast Windows

PSDesiredStateConfiguration v3.x – förhandsversion

Cmdlet-namn Anteckning
Konfiguration
ConvertTo-DscJsonSchema
Get-DscResource
Invoke-DscResource Experimentell
New-DscChecksum

PSDiagnostics

Cmdlet-namn 5,1 7.0 7.2 7.3 Anteckning
Disable-PSTrace Endast Windows
Disable-PSWSManCombinedTrace Endast Windows
Disable-WSManTrace Endast Windows
Enable-PSTrace Endast Windows
Enable-PSWSManCombinedTrace Endast Windows
Enable-WSManTrace Endast Windows
Get-LogProperties Endast Windows
Set-LogProperties Endast Windows
Start-Trace Endast Windows
Stop-Trace Endast Windows

PSReadLine

Cmdlet-namn 5,1 7.0 7.2 7.3 Anteckning
Get-PSReadLineKeyHandler
Get-PSReadLineOption
PSConsoleHostReadLine
Remove-PSReadLineKeyHandler
Set-PSReadLineKeyHandler
Set-PSReadLineOption

PSScheduledJob

Cmdlet-namn 5,1 7.0 7.2 7.3 Anteckning
Add-JobTrigger Endast Windows
Disable-JobTrigger Endast Windows
Disable-ScheduledJob Endast Windows
Enable-JobTrigger Endast Windows
Enable-ScheduledJob Endast Windows
Get-JobTrigger Endast Windows
Get-ScheduledJob Endast Windows
Get-ScheduledJobOption Endast Windows
New-JobTrigger Endast Windows
New-ScheduledJobOption Endast Windows
Register-ScheduledJob Endast Windows
Remove-JobTrigger Endast Windows
Set-JobTrigger Endast Windows
Set-ScheduledJob Endast Windows
Set-ScheduledJobOption Endast Windows
Unregister-ScheduledJob Endast Windows

PSWorkflow & PSWorkflowUtility

Cmdlet-namn 5,1 7.0 7.2 7.3 Anteckning
New-PSWorkflowExecutionOption Endast Windows
New-PSWorkflowSession Endast Windows
Invoke-AsWorkflow Endast Windows

ThreadJob

Cmdlet-namn 5,1 7.0 7.2 7.3 Anteckning
Start-ThreadJob Kan installeras i PowerShell 5.1