tokuhirom's blog

PowerShell の New-ScheduledTaskTrigger で、DaysOfWeek に複数要素指定する

New-ScheduledTaskTrigger -Weekly -At $At -DaysOfWeek @("Monday", "Tuesday", "Wednesday", "Thursday", "Friday")

PowerShell 力が低くて難しかったけど、これで動いてそう。

Created: 2021-05-16 00:19:00 +0900
Updated: 2021-05-16 00:19:00 +0900