File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
src/Automation/Automation/help Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,23 @@ Get-AzAutomationScheduledRunbook -AutomationAccountName "Contoso17" -ResourceGro
7171
7272This command gets all scheduled runbooks for the schedule Schedule01 in the Azure Automation account named Contoso17.
7373
74+ ### Example 4: Get Parameters given to a Scheduled Runbook
75+
76+ The output of below command provides JobScheduleId associated with the runbook Runbk01.
77+
78+ ``` powershell
79+ Get-AzAutomationScheduledRunbook -AutomationAccountName "Contoso17" -ResourceGroupName "ResourceGroup01" -RunbookName "Runbk01"
80+ ```
81+
82+ ### Example 5: Use the JobScheduleId obtained above to get parameters of the scheduled runbook Runbk01.
83+
84+ ``` powershell
85+ $x = Get-AzAutomationScheduledRunbook -AutomationAccountName "Contoso17" -ResourceGroupName "ResourceGroup01" -JobScheduleId “2b1d7738-093d-4ff7-b87b-e4b2321319e5”
86+ $x.Parameters
87+ ```
88+
89+ This method is currently not supported for jobs created with complex parameters (for example - array) through Azure portal.
90+
7491## PARAMETERS
7592
7693### -AutomationAccountName
You can’t perform that action at this time.
0 commit comments