Get-AzVMRunCommandDocument
Een opdrachtdocument voor uitvoeren ophalen.
Notitie
Dit is de vorige versie van onze documentatie. Raadpleeg de meest recente versie voor actuele informatie.
Syntax
Get-AzVMRunCommandDocument
[-Location] <String>
[[-CommandId] <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Een opdrachtdocument voor uitvoeren ophalen.
Voorbeelden
Voorbeeld 1
Get-AzVMRunCommandDocument -Location 'westus' -CommandId 'RunPowerShellScript'
Hiermee haalt u een specifiek opdrachtdocument voor RunPowerShellScript op in 'westus'.
Voorbeeld 2
Get-AzVMRunCommandDocument -Location 'westus'
Een lijst met alle beschikbare uitvoeringsopdrachten in 'westus'.
Parameters
-CommandId
De opdracht-id.
| Type: | String |
| Position: | 1 |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
-DefaultProfile
De referenties, accounts, tenants en abonnementen die worden gebruikt voor communicatie met Azure.
| Type: | IAzureContextContainer |
| Aliases: | AzContext, AzureRmContext, AzureCredential |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
-Location
De locatie waarop opdrachten worden uitgevoerd, worden opgevraagd.
| Type: | String |
| Position: | 0 |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |