I was tasked to create a PS script that created a Windows Server Backup policy with a random start time

I came up with the following script for the random start time bits.


There might be a more Powershell’ish way of doing this, but it gets the job done.