Start-AzureAutomationRunbook
Runbook-feladat indítása.
Megjegyzés:
A jelen dokumentációban hivatkozott parancsmagok a Service Management API-kat használó örökölt Azure-erőforrások kezelésére szolgálnak. Az Azure Resource Manager-erőforrások kezeléséhez tekintse meg az Az PowerShell-modult .
Syntax
Start-AzureAutomationRunbook
-Name <String>
[-Parameters <IDictionary>]
[-RunOn <String>]
-AutomationAccountName <String>
[-Profile <AzureSMProfile>]
[<CommonParameters>]
Description
Fontos
Az Azure Automationhez készült PowerShell-parancs 2020. 01. 23-ától már támogatott. Az Azure Service Management modell elavult az Azure Automation esetében, és ezen a napon le lett tiltva. Használja az Azure Resource Management-modellt támogató parancsokat az Az.Automationben.
A Start-AzureAutomationRunbook parancsmag elindít egy Microsoft Azure Automation-runbook-feladatot. Adja meg egy runbook azonosítóját vagy nevét.
Példák
1. példa: Runbook-feladat indítása
PS C:\> Start-AzureAutomationRunbook -AutomationAccountName "Contoso17" -Name "Runbk01"
Ez a parancs elindít egy Runbook-feladatot a Runbk01 nevű runbookhoz a Contoso17 nevű Automation-fiókban.
Paraméterek
-AutomationAccountName
Egy Automation-fiók nevét adja meg.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Name
Egy runbook nevét adja meg.
Type: | String |
Aliases: | RunbookName |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Parameters
Type: | IDictionary |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Profile
Azt az Azure-profilt adja meg, amelyből a parancsmag beolvassa. Ha nem ad meg profilt, ez a parancsmag a helyi alapértelmezett profilból olvas be.
Type: | AzureSMProfile |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-RunOn
Type: | String |
Aliases: | HybridWorker |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |