I had an example over the weekend whereby I needed to run a PowerShell command at a certain time due to a maintenance window. Rather than using task scheduler, as this was a one-off, I decided to use PowerShell to achieve this. Unfortunately, PowerShell does not natively have a ‘wait-until time’ cmdlet, so here’s the […]