この記事では、PowerShell のさまざまなバージョンに含まれるモジュールとコマンドレットの一覧を示します。 これは、リリース ノートに記載されている情報のまとめです。 詳細については、リリース ノートを参照してください。
- PowerShell 7.5 の新機能
- PowerShell 7.4 の新機能
- PowerShell 7.3 の新機能
- PowerShell 7.2 の新機能
- PowerShell 7.1 の新機能
- PowerShell 7.0 の新機能
この記事は作成中です。 以下の情報を最新の状態に保つためにご協力ください。
モジュールのリリース履歴
コマンドレットのリリース履歴
CimCmdlets
| コマンドレット名 | 5.1 | 7.2 | 7.4 | 7.5 | Note |
|---|---|---|---|---|---|
| Export-BinaryMiLog | Windows のみ | ||||
| Get-CimAssociatedInstance | Windows のみ | ||||
| Get-CimClass | Windows のみ | ||||
| Get-CimInstance | Windows のみ | ||||
| Get-CimSession | Windows のみ | ||||
| Import-BinaryMiLog | Windows のみ | ||||
| Invoke-CimMethod | Windows のみ | ||||
| New-CimInstance | Windows のみ | ||||
| New-CimSession | Windows のみ | ||||
| New-CimSessionOption | Windows のみ | ||||
| Register-CimIndicationEvent | Windows のみ | ||||
| Remove-CimInstance | Windows のみ | ||||
| Remove-CimSession | Windows のみ | ||||
| Set-CimInstance | Windows のみ |
ISE (2.0 で導入)
このモジュールは Windows PowerShell でのみ使用できます。
| コマンドレット名 | 5.1 | Note |
|---|---|---|
| Get-IseSnippet | ||
| Import-IseSnippet | ||
| New-IseSnippet |
Microsoft.PowerShell.Archive
| コマンドレット名 | 5.1 | 7.2 | 7.4 | 7.5 | Note |
|---|---|---|---|---|---|
| Compress-Archive | |||||
| Expand-Archive |
Microsoft.PowerShell.Core
| コマンドレット名 | 5.1 | 7.2 | 7.4 | 7.5 | Note |
|---|---|---|---|---|---|
| Add-History | |||||
| Add-PSSnapin | Windows のみ | ||||
| Clear-History | |||||
| Clear-Host | |||||
| Connect-PSSession | Windows のみ | ||||
| Debug-Job | |||||
| Disable-ExperimentalFeature | 6\.2 で追加されました | ||||
| Disable-PSRemoting | Windows のみ | ||||
| Disable-PSSessionConfiguration | Windows のみ | ||||
| Disconnect-PSSession | Windows のみ | ||||
| Enable-ExperimentalFeature | 6\.2 で追加されました | ||||
| Enable-PSRemoting | Windows のみ | ||||
| Enable-PSSessionConfiguration | Windows のみ | ||||
| Enter-PSHostProcess | 6\.2 で Linux サポートが追加されました | ||||
| Enter-PSSession | |||||
| Exit-PSHostProcess | 6\.2 で Linux サポートが追加されました | ||||
| Exit-PSSession | |||||
| Export-Console | Windows のみ | ||||
| Export-ModuleMember | |||||
| ForEach-Object | |||||
| Get-Command | |||||
| Get-ExperimentalFeature | 6\.2 で追加されました | ||||
| Get-Help | |||||
| Get-History | |||||
| Get-Job | |||||
| Get-Module | |||||
| Get-PSHostProcessInfo | 6\.2 で Linux サポートが追加されました | ||||
| Get-PSSession | |||||
| Get-PSSessionCapability | |||||
| Get-PSSessionConfiguration | |||||
| Get-PSSnapin | Windows のみ | ||||
| Get-Verb | Microsoft.PowerShell.Utility 6.0 以降に移動 | ||||
| Import-Module | |||||
| Invoke-Command | |||||
| Invoke-History | |||||
| New-Module | |||||
| New-ModuleManifest | |||||
| New-PSRoleCapabilityFile | |||||
| New-PSSession | |||||
| New-PSSessionConfigurationFile | 7\.3 で Linux サポートが追加されました | ||||
| New-PSSessionOption | |||||
| New-PSSessionOption | |||||
| Out-Default | |||||
| Out-Host | |||||
| Out-Null | |||||
| Receive-Job | |||||
| Receive-PSSession | Windows のみ | ||||
| Register-ArgumentCompleter | |||||
| Register-PSSessionConfiguration | Windows のみ | ||||
| Remove-Job | |||||
| Remove-Module | |||||
| Remove-PSSession | |||||
| Remove-PSSnapin | Windows のみ | ||||
| Resume-Job | |||||
| Save-Help | |||||
| Set-PSDebug | |||||
| Set-PSSessionConfiguration | Windows のみ | ||||
| Set-StrictMode | |||||
| Start-Job | |||||
| Stop-Job | |||||
| Switch-Process | Linux と macOS のみ | ||||
| Suspend-Job | Windows のみ | ||||
| Test-ModuleManifest | |||||
| Test-PSSessionConfigurationFile | Windows のみ | ||||
| Unregister-PSSessionConfiguration | Windows のみ | ||||
| Update-Help | |||||
| Wait-Job | |||||
| Where-Object |
Microsoft.PowerShell.Diagnostics
| コマンドレット名 | 5.1 | 7.2 | 7.4 | 7.5 | Note |
|---|---|---|---|---|---|
| Export-Counter | Windows のみ | ||||
| Get-Counter | Windows のみ | ||||
| Get-WinEvent | Windows のみ | ||||
| Import-Counter | Windows のみ | ||||
| New-WinEvent | Windows のみ |
Microsoft.PowerShell.Host
| コマンドレット名 | 5.1 | 7.2 | 7.4 | 7.5 | Note |
|---|---|---|---|---|---|
| Start-Transcript | |||||
| Stop-Transcript |
Microsoft.PowerShell.LocalAccounts (64 ビットのみ)
このモジュールは Windows PowerShell でのみ使用できます。
| コマンドレット名 | 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
| コマンドレット名 | 5.1 | 7.2 | 7.4 | 7.5 | Note |
|---|---|---|---|---|---|
| Add-Computer | Windows のみ | ||||
| Add-Content | |||||
| Checkpoint-Computer | Windows のみ | ||||
| Clear-Content | |||||
| Clear-EventLog | Windows のみ | ||||
| Clear-Item | |||||
| Clear-ItemProperty | |||||
| Clear-RecycleBin | Windows のみ | ||||
| Complete-Transaction | Windows のみ | ||||
| Convert-Path | |||||
| Copy-Item | |||||
| Copy-ItemProperty | |||||
| Debug-Process | |||||
| Disable-ComputerRestore | Windows のみ | ||||
| Enable-ComputerRestore | Windows のみ | ||||
| Get-ChildItem | |||||
| Get-Clipboard | |||||
| Get-ComputerInfo | Windows のみ | ||||
| Get-ComputerRestorePoint | Windows のみ | ||||
| Get-Content | |||||
| Get-ControlPanelItem | Windows のみ | ||||
| Get-EventLog | Windows のみ | ||||
| Get-HotFix | Windows のみ | ||||
| Get-Item | |||||
| Get-ItemProperty | |||||
| Get-ItemPropertyValue | |||||
| Get-Location | |||||
| Get-Process | |||||
| Get-PSDrive | |||||
| Get-PSProvider | |||||
| Get-Service | Windows のみ | ||||
| Get-TimeZone | Windows のみ | ||||
| Get-Transaction | Windows のみ | ||||
| Get-WmiObject | Windows のみ | ||||
| Invoke-Item | |||||
| Invoke-WmiMethod | Windows のみ | ||||
| Join-Path | |||||
| Limit-EventLog | Windows のみ | ||||
| Move-Item | |||||
| Move-ItemProperty | |||||
| New-EventLog | Windows のみ | ||||
| New-Item | |||||
| New-ItemProperty | |||||
| New-PSDrive | |||||
| New-Service | Windows のみ | ||||
| New-WebServiceProxy | Windows のみ | ||||
| Pop-Location | |||||
| Push-Location | |||||
| Register-WmiEvent | Windows のみ | ||||
| Remove-Computer | Windows のみ | ||||
| Remove-EventLog | Windows のみ | ||||
| Remove-Item | |||||
| Remove-ItemProperty | |||||
| Remove-PSDrive | |||||
| Remove-Service | Windows のみ | ||||
| Remove-WmiObject | Windows のみ | ||||
| Rename-Computer | Windows のみ | ||||
| Rename-Item | |||||
| Rename-ItemProperty | |||||
| Reset-ComputerMachinePassword | Windows のみ | ||||
| Resolve-Path | |||||
| Restart-Computer | 7\.1 で Linux と macOS のサポートが追加 | ||||
| Restart-Service | Windows のみ | ||||
| Restore-Computer | Windows のみ | ||||
| Resume-Service | Windows のみ | ||||
| Set-Clipboard | |||||
| Set-Content | |||||
| Set-Item | |||||
| Set-ItemProperty | |||||
| Set-Location | |||||
| Set-Service | Windows のみ | ||||
| Set-TimeZone | Windows のみ | ||||
| Set-WmiInstance | Windows のみ | ||||
| Show-ControlPanelItem | Windows のみ | ||||
| Show-EventLog | Windows のみ | ||||
| Split-Path | |||||
| Start-Process | |||||
| Start-Service | Windows のみ | ||||
| Start-Transaction | Windows のみ | ||||
| Stop-Computer | 7\.1 で Linux と macOS のサポートが追加 | ||||
| Stop-Process | |||||
| Stop-Service | Windows のみ | ||||
| Suspend-Service | Windows のみ | ||||
| Test-ComputerSecureChannel | Windows のみ | ||||
| Test-Connection | |||||
| Test-Path | |||||
| Undo-Transaction | Windows のみ | ||||
| Use-Transaction | Windows のみ | ||||
| Wait-Process | |||||
| Write-EventLog | Windows のみ |
Microsoft.PowerShell.ODataUtils
このモジュールは Windows PowerShell でのみ使用できます。
| コマンドレット名 | 5.1 | Note |
|---|---|---|
| Export-ODataEndpointProxy |
Microsoft.PowerShell.Operation.Validation
このモジュールは Windows PowerShell でのみ使用できます。
| コマンドレット名 | 5.1 | Note |
|---|---|---|
| Get-OperationValidation | ||
| Invoke-OperationValidation |
Microsoft.PowerShell.PSResourceGet
| コマンドレット名 | 7.4 | 7.5 | Note |
|---|---|---|---|
| Get-PSResource | |||
| Import-PSGetRepository | |||
| Find-PSResource | |||
| Get-InstalledPSResource | |||
| Get-PSResourceRepository | |||
| Get-PSScriptFileInfo | |||
| 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
| コマンドレット名 | 5.1 | 7.2 | 7.4 | 7.5 | Note |
|---|---|---|---|---|---|
| ConvertFrom-SecureString | |||||
| ConvertTo-SecureString | |||||
| Get-Acl | Windows のみ | ||||
| Get-AuthenticodeSignature | Windows のみ | ||||
| Get-CmsMessage | 7\.1 で Linux/macOS のサポート追加 | ||||
| Get-Credential | |||||
| Get-ExecutionPolicy | Linux/macOS では [無制限] が返されます | ||||
| Get-PfxCertificate | |||||
| New-FileCatalog | Windows のみ | ||||
| Protect-CmsMessage | 7\.1 で Linux/macOS のサポート追加 | ||||
| Set-Acl | Windows のみ | ||||
| Set-AuthenticodeSignature | Windows のみ | ||||
| Set-ExecutionPolicy | Linux/macOS では何も起きません | ||||
| Test-FileCatalog | Windows のみ | ||||
| Unprotect-CmsMessage | 7\.1 で Linux/macOS のサポート追加 |
Microsoft.PowerShell.Utility
| コマンドレット名 | 5.1 | 7.2 | 7.4 | 7.5 | Note |
|---|---|---|---|---|---|
| Add-Member | |||||
| Add-Type | |||||
| Clear-Variable | |||||
| Compare-Object | |||||
| ConvertFrom-Csv | |||||
| ConvertFrom-Json | |||||
| ConvertFrom-Markdown | 6\.1 で追加されました | ||||
| ConvertFrom-SddlString | 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 | Linux/macOS で使用可能なイベント ソースはありません | ||||
| Get-EventSubscriber | |||||
| Get-FileHash | |||||
| Get-FormatData | |||||
| Get-Host | |||||
| Get-MarkdownOption | 6\.1 で追加されました | ||||
| Get-Member | |||||
| Get-PSBreakpoint | |||||
| Get-PSCallStack | |||||
| Get-Random | |||||
| Get-Runspace | |||||
| Get-RunspaceDebug | |||||
| Get-SecureRandom | 7.4 で追加されました | ||||
| Get-TraceSource | |||||
| Get-TypeData | |||||
| Get-UICulture | |||||
| Get-Unique | |||||
| Get-Uptime | |||||
| Get-Variable | |||||
| Get-Verb | 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 | Linux/macOS で使用可能なイベント ソースはありません | ||||
| New-Guid | |||||
| New-Object | |||||
| New-TemporaryFile | |||||
| New-TimeSpan | |||||
| New-Variable | |||||
| Out-File | |||||
| Out-GridView | Windows のみ | ||||
| Out-Printer | Windows のみ | ||||
| Out-String | |||||
| Read-Host | |||||
| Register-EngineEvent | Linux/macOS で使用可能なイベント ソースはありません | ||||
| Register-ObjectEvent | |||||
| Remove-Alias | |||||
| Remove-Event | Linux/macOS で使用可能なイベント ソースはありません | ||||
| Remove-PSBreakpoint | |||||
| Remove-TypeData | |||||
| Remove-Variable | |||||
| Select-Object | |||||
| Select-String | |||||
| Select-Xml | |||||
| Send-MailMessage | |||||
| Set-Alias | |||||
| Set-Date | |||||
| Set-MarkdownOption | 6\.1 で追加されました | ||||
| Set-PSBreakpoint | |||||
| Set-TraceSource | |||||
| Set-Variable | |||||
| Show-Command | Windows のみ | ||||
| Show-Markdown | 6\.1 で追加されました | ||||
| Sort-Object | |||||
| Start-Sleep | |||||
| Tee-Object | |||||
| Test-Json | |||||
| Trace-Command | |||||
| Unblock-File | 7\.0 で macOS サポートが追加されました | ||||
| Unregister-Event | 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
| コマンドレット名 | 5.1 | 7.2 | 7.4 | 7.5 | Note |
|---|---|---|---|---|---|
| Connect-WSMan | Windows のみ | ||||
| Disable-WSManCredSSP | Windows のみ | ||||
| Disconnect-WSMan | Windows のみ | ||||
| Enable-WSManCredSSP | Windows のみ | ||||
| Get-WSManCredSSP | Windows のみ | ||||
| Get-WSManInstance | Windows のみ | ||||
| Invoke-WSManAction | Windows のみ | ||||
| New-WSManInstance | Windows のみ | ||||
| New-WSManSessionOption | Windows のみ | ||||
| Remove-WSManInstance | Windows のみ | ||||
| Set-WSManInstance | Windows のみ | ||||
| Set-WSManQuickConfig | Windows のみ | ||||
| Test-WSMan | Windows のみ |
PackageManagement
| コマンドレット名 | 5.1 | 7.2 | 7.4 | 7.4 | 7.5 | 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
| コマンドレット名 | 5.1 | 7.2 | 7.4 | 7.5 | 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
このモジュールは Windows PowerShell からのみ使用できます。
| コマンドレット名 | 5.1 | 注意 |
|---|---|---|
| 構成 | ||
| 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
このモジュールは PowerShell ギャラリーからのみ使用できます。
| コマンドレット名 | 2.0.5 | 注意 |
|---|---|---|
| 構成 | ||
| Get-DscResource | ||
| Invoke-DscResource | 実験用 | |
| New-DSCCheckSum |
PSDesiredStateConfiguration v3.x - プレビュー
このモジュールは PowerShell ギャラリーからのみ使用できます。
| コマンドレット名 | 3.0 (プレビュー) | 注意 |
|---|---|---|
| 構成 | ||
| ConvertTo-DscJsonSchema | ||
| Get-DscResource | ||
| Invoke-DscResource | ||
| New-DscChecksum |
PSDiagnostics
| コマンドレット名 | 5.1 | 7.2 | 7.4 | 7.5 | Note |
|---|---|---|---|---|---|
| Disable-PSTrace | Windows のみ | ||||
| Disable-PSWSManCombinedTrace | Windows のみ | ||||
| Disable-WSManTrace | Windows のみ | ||||
| Enable-PSTrace | Windows のみ | ||||
| Enable-PSWSManCombinedTrace | Windows のみ | ||||
| Enable-WSManTrace | Windows のみ | ||||
| Get-LogProperties | Windows のみ | ||||
| Set-LogProperties | Windows のみ | ||||
| Start-Trace | Windows のみ | ||||
| Stop-Trace | Windows のみ |
PSReadLine
| コマンドレット名 | 5.1 | 7.2 | 7.4 | 7.5 | Note |
|---|---|---|---|---|---|
| Get-PSReadLineKeyHandler | |||||
| Get-PSReadLineOption | |||||
| PSConsoleHostReadLine | |||||
| Remove-PSReadLineKeyHandler | |||||
| Set-PSReadLineKeyHandler | |||||
| Set-PSReadLineOption |
PSScheduledJob
このモジュールは Windows PowerShell でのみ使用できます。
| コマンドレット名 | 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
このモジュールは Windows PowerShell でのみ使用できます。
| コマンドレット名 | 5.1 | Note |
|---|---|---|
| New-PSWorkflowExecutionOption | ||
| New-PSWorkflowSession | ||
| Invoke-AsWorkflow |
ThreadJob
| コマンドレット名 | 5.1 | 7.2 | 7.4 | 7.5 | Note |
|---|---|---|---|---|---|
| Start-ThreadJob | PowerShell 5.1 にインストール可能 |
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
PowerShell