From 98103a53dc304c2721ad72d5f8bbd1faf990dc6b Mon Sep 17 00:00:00 2001 From: Andreas Jordan <66946165+andreasjordan@users.noreply.github.com> Date: Tue, 30 May 2023 12:02:47 +0200 Subject: [PATCH] New-DbaAgentSchedule - Fix issue with FrequencyInterval Weekdays (#8938) --- public/New-DbaAgentSchedule.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/New-DbaAgentSchedule.ps1 b/public/New-DbaAgentSchedule.ps1 index 6ef39cb50d..f2cae0ab81 100644 --- a/public/New-DbaAgentSchedule.ps1 +++ b/public/New-DbaAgentSchedule.ps1 @@ -332,7 +332,7 @@ function New-DbaAgentSchedule { "Friday" { $interval += 6 } "Saturday" { $interval += 7 } "Day" { $interval += 8 } - "Weekday" { $interval += 9 } + "Weekdays" { $interval += 9 } "WeekendDay" { $interval += 10 } 1 { $interval += 1 } 2 { $interval += 2 }