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

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.3k 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.3k points)
0 votes
1 answer

The script create two reports of inactive workstation operating systems. The report is too detailed to run from one of the adaxes reports. Basically how can I set the script up to ... sure How I did this but I can't find it now (probably something simple).

asked Nov 30, 2022 by mightycabal (1.2k points)
0 votes
1 answer

Hello, We have a task which checks every hour if jobs have been added to a list (CSV-File) and if so will start provisioning tasks including Microsoft Teams. If ... job has completed or is still running to prevent duplicate runs. Is this somehow possible?

asked Sep 25 by andrep (20 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 (2.3k points)
0 votes
1 answer