Get-AzureRmVMRunCommandDocument

実行コマンド ドキュメントを取得します。

警告

AzureRM PowerShell モジュールは、2024 年 2 月 29 日の時点で正式に非推奨になりました。 引き続きサポートを受け、更新を受け取れるようにするために、AzureRM から Az PowerShell モジュールに移行することをお勧めします。

AzureRM モジュールは引き続き機能する可能性がありますが、メインが維持またはサポートされなくなり、ユーザーの判断とリスクで引き続き使用できます。 Az モジュールへの移行に関するガイダンスについては、移行リソースを参照してください。

構文

Get-AzureRmVMRunCommandDocument
   [-Location] <String>
   [[-CommandId] <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

説明

実行コマンド ドキュメントを取得します。

例 1

PS C:\> Get-AzureRmVMRunCommandDocument -Location 'westus' -CommandId 'RunPowerShellScript'

'westus' の 'RunPowerShellScript' の特定の実行コマンド ドキュメントを取得します。 Get-AzureRmVMRunCommandDocument -Location $loc

例 2

PS C:\> Get-AzureRmVMRunCommandDocument -Location 'westus'

'westus' で使用可能なすべての実行コマンドを一覧表示します。

パラメーター

-CommandId

コマンド ID。

Type:String
Position:2
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-DefaultProfile

Azure との通信に使用される資格情報、アカウント、テナント、サブスクリプション。

Type:IAzureContextContainer
Aliases:AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Location

実行コマンドのクエリを実行する場所。

Type:String
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

入力

String

出力

PSRunCommandDocument