Get-AzAutomationRunbook
Ruft ein Runbook ab.
Syntax
Get-AzAutomationRunbook
[-ResourceGroupName] <String>
[-AutomationAccountName] <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzAutomationRunbook
[-Name] <String>
[-ResourceGroupName] <String>
[-AutomationAccountName] <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Beschreibung
Das Cmdlet Get-AzAutomationRunbook ruft Azure Automation Runbooks ab. Geben Sie den Namen an, um ein bestimmtes Runbook abzurufen.
Beispiele
Beispiel 1: Abrufen aller Runbooks
Get-AzAutomationRunbook -AutomationAccountName "Contoso17" -ResourceGroupName "ResourceGroup01"
Dieser Befehl ruft alle Runbooks im Azure Automation-Konto namens Contoso17 ab.
Parameter
-AutomationAccountName
Gibt den Namen eines Automatisierungskontos an, in dem dieses Cmdlet Runbooks abruft.
Typ: | String |
Position: | 1 |
Standardwert: | None |
Erforderlich: | True |
Pipelineeingabe akzeptieren: | True |
Platzhalterzeichen akzeptieren: | False |
-DefaultProfile
Anmeldeinformationen, Konto, Mandant und Abonnement für die Kommunikation mit Azure
Typ: | IAzureContextContainer |
Aliase: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Standardwert: | None |
Erforderlich: | False |
Pipelineeingabe akzeptieren: | False |
Platzhalterzeichen akzeptieren: | False |
-Name
Gibt den Namen eines Runbook an, das dieses Cmdlet abruft.
Typ: | String |
Aliase: | RunbookName |
Position: | 2 |
Standardwert: | None |
Erforderlich: | True |
Pipelineeingabe akzeptieren: | True |
Platzhalterzeichen akzeptieren: | False |
-ResourceGroupName
Gibt den Namen der Ressourcengruppe an, für die dieses Cmdlet Runbooks abruft.
Typ: | String |
Position: | 0 |
Standardwert: | None |
Erforderlich: | True |
Pipelineeingabe akzeptieren: | True |
Platzhalterzeichen akzeptieren: | False |