Skip to content

Commit 4917dcf

Browse files
authored
Update New-AzAutomationSchedule.md (#15371)
Removed extra space in weekly recurring example that was throwing off a copy/paste
1 parent 610ecd0 commit 4917dcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Automation/Automation/help/New-AzAutomationSchedule.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ The final command creates a daily schedule named Schedule02 to begin at the time
9191
```
9292
PS C:\> $StartTime = (Get-Date "13:00:00").AddDays(1)
9393
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"
9595
```
9696

9797
The first command creates a date object by using the **Get-Date** cmdlet, and then stores the object in the $StartDate variable.

0 commit comments

Comments
 (0)