Schedule task creation with randomized time
I need to create a schedule task with xml file in randomized time.
I have tried the below cmd lines and it is working fine but I need to change the trigger time to randomize time.
when I deploy this cmd lines to 50 machines the trigger time is set to 10a.m on all machines but I need a random/different time on other machines. so what switches do I need to use for that?
schtasks.exe /create /tn "%XXX%" /XML "Config.xml" /f
any help should be appreciated.