I am trying to write a PowerShell script to run a segment of code if the day and hour match:
if it is Monday 10am hour run:
if it is Monday 6pm hour run:
If it is Sunday 7pm hour run:
I have found several bulky ways of doing this but I am trying to keep things tight. Any ideas?