W tym artykule wymieniono moduły i polecenia cmdlet, które są zawarte w różnych wersjach programu PowerShell. Jest to podsumowanie informacji znajdujących się w informacjach o wersji. Bardziej szczegółowe informacje można znaleźć w informacjach o wersji:
Te moduły są dostępne tylko w programie Windows PowerShell.
Nazwa polecenia cmdlet
5,1
Uwaga
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
Nazwa polecenia cmdlet
5,1
7.2
7.3
7,4
7.5
Uwaga
Add-Computer
Tylko Windows
Add-Content
Checkpoint-Computer
Tylko Windows
Clear-Content
Clear-EventLog
Tylko Windows
Clear-Item
Clear-ItemProperty
Clear-RecycleBin
Tylko Windows
Complete-Transaction
Tylko Windows
Convert-Path
Copy-Item
Copy-ItemProperty
Debug-Process
Disable-ComputerRestore
Tylko Windows
Enable-ComputerRestore
Tylko Windows
Get-ChildItem
Get-Clipboard
Nieobsługiwane w systemiemacOS
Get-ComputerInfo
Tylko Windows
Get-ComputerRestorePoint
Tylko Windows
Get-Content
Get-ControlPanelItem
Tylko Windows
Get-EventLog
Tylko Windows
Get-HotFix
Tylko Windows
Get-Item
Get-ItemProperty
Get-ItemPropertyValue
Get-Location
Get-Process
Get-PSDrive
Get-PSProvider
Get-Service
Tylko Windows
Get-TimeZone
Tylko Windows
Get-Transaction
Tylko Windows
Get-WmiObject
Tylko Windows
Invoke-Item
Invoke-WmiMethod
Tylko Windows
Join-Path
Limit-EventLog
Tylko Windows
Move-Item
Move-ItemProperty
New-EventLog
Tylko Windows
New-Item
New-ItemProperty
New-PSDrive
New-Service
Tylko Windows
New-WebServiceProxy
Tylko Windows
Pop-Location
Push-Location
Register-WmiEvent
Tylko Windows
Remove-Computer
Tylko Windows
Remove-EventLog
Tylko Windows
Remove-Item
Remove-ItemProperty
Remove-PSDrive
Remove-Service
Tylko Windows
Remove-WmiObject
Tylko Windows
Rename-Computer
Tylko Windows
Rename-Item
Rename-ItemProperty
Reset-ComputerMachinePassword
Tylko Windows
Resolve-Path
Restart-Computer
Dodano obsługę systemu Linux/macOS w wersji 7.1
Restart-Service
Tylko Windows
Restore-Computer
Tylko Windows
Resume-Service
Tylko Windows
Set-Clipboard
Set-Content
Set-Item
Set-ItemProperty
Set-Location
Set-Service
Tylko Windows
Set-TimeZone
Tylko Windows
Set-WmiInstance
Tylko Windows
Show-ControlPanelItem
Tylko Windows
Show-EventLog
Tylko Windows
Split-Path
Start-Process
Start-Service
Tylko Windows
Start-Transaction
Tylko Windows
Stop-Computer
Dodano obsługę systemu Linux/macOS w wersji 7.1
Stop-Process
Stop-Service
Tylko Windows
Suspend-Service
Tylko Windows
Test-ComputerSecureChannel
Tylko Windows
Test-Connection
Test-Path
Undo-Transaction
Tylko Windows
Use-Transaction
Tylko Windows
Wait-Process
Write-EventLog
Tylko Windows
Microsoft.PowerShell.ODataUtils
Te moduły są dostępne tylko w programie Windows PowerShell.
Nazwa polecenia cmdlet
5,1
Uwaga
Export-ODataEndpointProxy
Microsoft.PowerShell.Operation.Validation
Te moduły są dostępne tylko w programie Windows PowerShell.
Nazwa polecenia cmdlet
5,1
Uwaga
Get-OperationValidation
Invoke-OperationValidation
Microsoft.PowerShell.PSResourceGet
Nazwa polecenia cmdlet
7,4
7.5
Uwaga
Get-PSResource
Import-PSGetRepository
Find-PSResource
Get-InstalledPSResource
Get-PSResourceRepository
Get-PSScriptFileInfo
Install-PSResource
New-PSScriptFileInfo
Publikowanie —PSResource
Register-PSResourceRepository
Save-PSResource
Set-PSResourceRepository
Test-PSScriptFileInfo
Uninstall-PSResource
Wyrejestrowywanie repozytorium PSResource
Update-PSModuleManifest
Update-PSResource
Update-PSScriptFileInfo
Microsoft.PowerShell.Security
Nazwa polecenia cmdlet
5,1
7.2
7.3
7,4
7.5
Uwaga
ConvertFrom-SecureString
ConvertTo-SecureString
Get-Acl
Tylko Windows
Get-AuthenticodeSignature
Tylko Windows
Get-CmsMessage
Obsługa systemu Linux/macOS dodana w wersji 7.1
Get-Credential
Get-ExecutionPolicy
Zwraca wartość bez ograniczeń w systemie Linux/macOS
Get-PfxCertificate
New-FileCatalog
Tylko Windows
Protect-CmsMessage
Obsługa systemu Linux/macOS dodana w wersji 7.1
Set-Acl
Tylko Windows
Set-AuthenticodeSignature
Tylko Windows
Set-ExecutionPolicy
Nic nie robi w systemie Linux/macOS
Test-FileCatalog
Tylko Windows
Unprotect-CmsMessage
Obsługa systemu Linux/macOS dodana w wersji 7.1
Microsoft.PowerShell.Utility
Nazwa polecenia cmdlet
5,1
7.2
7.3
7,4
7.5
Uwaga
Add-Member
Add-Type
Clear-Variable
Compare-Object
ConvertFrom-Csv
ConvertFrom-Json
ConvertFrom-Markdown
Dodano w wersji 6.1
ConvertFrom-SddlString
Tylko 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
Brak źródeł zdarzeń dostępnych w systemie Linux/macOS
Get-EventSubscriber
Get-FileHash
Get-FormatData
Get-Host
Get-MarkdownOption
Dodano w wersji 6.1
Get-Member
Get-PSBreakpoint
Get-PSCallStack
Get-Random
Get-Runspace
Get-RunspaceDebug
Get-SecureRandom
Dodano w wersji 7.4
Get-TraceSource
Get-TypeData
Get-UICulture
Get-Unique
Get-Uptime
Get-Variable
Get-Verb
Przeniesiono z programu 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
Brak źródeł zdarzeń dostępnych w systemie Linux/macOS
New-Guid
New-Object
New-TemporaryFile
New-TimeSpan
New-Variable
Out-File
Out-GridView
Tylko Windows
Out-Printer
Tylko Windows
Out-String
Read-Host
Register-EngineEvent
Brak źródeł zdarzeń dostępnych w systemie Linux/macOS
Register-ObjectEvent
Remove-Alias
Remove-Event
Brak źródeł zdarzeń dostępnych w systemie Linux/macOS
Remove-PSBreakpoint
Remove-TypeData
Remove-Variable
Select-Object
Select-String
Select-Xml
Send-MailMessage
Set-Alias
Set-Date
Set-MarkdownOption
Dodano w wersji 6.1
Set-PSBreakpoint
Set-TraceSource
Set-Variable
Show-Command
Tylko Windows
Show-Markdown
Dodano w wersji 6.1
Sort-Object
Start-Sleep
Tee-Object
Test-Json
Trace-Command
Unblock-File
Dodano obsługę systemu macOS w wersji 7.0
Unregister-Event
Brak źródeł zdarzeń dostępnych w systemie 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
Nazwa polecenia cmdlet
5,1
7.2
7.3
7,4
7.5
Uwaga
Connect-WSMan
Tylko Windows
Disable-WSManCredSSP
Tylko Windows
Disconnect-WSMan
Tylko Windows
Enable-WSManCredSSP
Tylko Windows
Get-WSManCredSSP
Tylko Windows
Get-WSManInstance
Tylko Windows
Invoke-WSManAction
Tylko Windows
New-WSManInstance
Tylko Windows
New-WSManSessionOption
Tylko Windows
Remove-WSManInstance
Tylko Windows
Set-WSManInstance
Tylko Windows
Set-WSManQuickConfig
Tylko Windows
Test-WSMan
Tylko Windows
PackageManagement
Nazwa polecenia cmdlet
5,1
7.2
7.3
7,4
7,4
7.5
Uwaga
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
Nazwa polecenia cmdlet
5,1
7.2
7.3
7,4
7.5
Uwaga
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
Te moduły są dostępne tylko w programie Windows PowerShell.
Nazwa polecenia cmdlet
5,1
Uwaga
Konfigurowanie
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
Te moduły są dostępne tylko w Galeria programu PowerShell.
Nazwa polecenia cmdlet
2.0.5
Uwaga
Konfigurowanie
Get-DscResource
Invoke-DscResource
Eksperymentalne
New-DSCCheckSum
PSDesiredStateConfiguration v3.x — wersja zapoznawcza
Te moduły są dostępne tylko w Galeria programu PowerShell.
Nazwa polecenia cmdlet
3.0 (wersja zapoznawcza)
Uwaga
Konfigurowanie
ConvertTo-DscJsonSchema
Get-DscResource
Invoke-DscResource
New-DscChecksum
PSDiagnostics
Nazwa polecenia cmdlet
5,1
7.2
7.3
7,4
7.5
Uwaga
Disable-PSTrace
Tylko Windows
Disable-PSWSManCombinedTrace
Tylko Windows
Disable-WSManTrace
Tylko Windows
Enable-PSTrace
Tylko Windows
Enable-PSWSManCombinedTrace
Tylko Windows
Enable-WSManTrace
Tylko Windows
Get-LogProperties
Tylko Windows
Set-LogProperties
Tylko Windows
Start-Trace
Tylko Windows
Stop-Trace
Tylko Windows
PSReadLine
Nazwa polecenia cmdlet
5,1
7.2
7.3
7,4
7.5
Uwaga
Get-PSReadLineKeyHandler
Get-PSReadLineOption
PSConsoleHostReadLine
Remove-PSReadLineKeyHandler
Set-PSReadLineKeyHandler
Set-PSReadLineOption
PSScheduledJob
Te moduły są dostępne tylko w programie Windows PowerShell.
Nazwa polecenia cmdlet
5,1
Uwaga
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 i PSWorkflowUtility
Te moduły są dostępne tylko w programie Windows PowerShell.
Nazwa polecenia cmdlet
5,1
Uwaga
New-PSWorkflowExecutionOption
New-PSWorkflowSession
Invoke-AsWorkflow
ThreadJob
Nazwa polecenia cmdlet
5,1
7.2
7.3
7,4
7.5
Uwaga
Start-ThreadJob
Można zainstalować w programie PowerShell 5.1
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź: https://aka.ms/ContentUserFeedback.