0 votes

Hello!

I've run into this problem before with the windows task scheduler. It looks like there's no way in the interface to target a specific day in the month aside from using the specific date. I could schedule a single run of the task on the dates I need but it would be nice if I could find a way to check if it's the Nth day of the week for this month so I don't need to.

Is it possible to create a powershell script to check to see if it's the 3rd Wednesday of the month and output $True so I can use it to trigger an email notification?

by (810 points)

Please log in or register to answer this question.

Related questions

0 votes
1 answer

Is there a way to have a Scheduled Task run a Powershell script on the 1st and 3rd Wednesday of every month? Adaxes Version 2017.2 3.8.14823.0

asked Jun 24, 2019 by hgletifer (1.2k points)
0 votes
1 answer

I have a feild called Decommissioned Date and I can not figure out how to run a scheduled task the day after that date. So If an account got decommissioned today I want the task to run tomorrow.

asked Jan 9, 2020 by hgletifer (1.2k points)
0 votes
1 answer

On Approval Requests, in the web console, Initiator shows "N/A" instead of the custom command scheduled task. The admin console shows the custom command scheduled task though. Any way to fix that?

asked Jan 21, 2021 by mark.it.admin (1.7k points)
0 votes
0 answers

I'm trying to setup a quick automations to drop a notification into a Micrsoft Teams feed using their Webhook integration. I've managed to make Webhooks work ... -body $body -ContentType 'application/json' Any assistance with this would be gratefully received

asked Jan 20, 2020 by richarddewis (220 points)
0 votes
1 answer

I have an account that I am using as the "run as" account to run PowerShell scripts for several different custom commands. I would like to be able to update the ... a script that updates the credentials used to run a script in an existing custom command?

asked Oct 18, 2021 by KelseaIT (190 points)
2,643 questions
2,377 answers
6,310 comments
987,336 users