Get-AzVMRunCommandDocument
実行コマンド ドキュメントを取得します。
構文
Get-AzVMRunCommandDocument
[-Location] <String>
[[-CommandId] <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
説明
実行コマンド ドキュメントを取得します。
例
例 1
Get-AzVMRunCommandDocument -Location 'westus' -CommandId 'RunPowerShellScript'
'westus' の 'RunPowerShellScript' の特定の実行コマンド ドキュメントを取得します。
例 2
Get-AzVMRunCommandDocument -Location 'westus'
'westus' で使用可能なすべての実行コマンドを一覧表示します。
パラメーター
-CommandId
コマンド ID。
Type: | String |
Position: | 1 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-DefaultProfile
Azure との通信に使用される資格情報、アカウント、テナント、サブスクリプション。
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Location
実行コマンドが照会される場所。
Type: | String |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |