File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/Automation/Automation/help Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ The final command creates a daily schedule named Schedule02 to begin at the time
91
91
```
92
92
PS C:\> $StartTime = (Get-Date "13:00:00").AddDays(1)
93
93
PS C:\> [System.DayOfWeek[]]$WeekDays = @([System.DayOfWeek]::Monday..[System.DayOfWeek]::Friday)
94
- PS C:\> New-AzAutomationSchedule -AutomationAccountName "Contoso17" -Name "Schedule03" -StartTime $StartTime - WeekInterval 1 -DaysOfWeek $WeekDays -ResourceGroupName "ResourceGroup01"
94
+ PS C:\> New-AzAutomationSchedule -AutomationAccountName "Contoso17" -Name "Schedule03" -StartTime $StartTime -WeekInterval 1 -DaysOfWeek $WeekDays -ResourceGroupName "ResourceGroup01"
95
95
```
96
96
97
97
The first command creates a date object by using the ** Get-Date** cmdlet, and then stores the object in the $StartDate variable.
You can’t perform that action at this time.
0 commit comments