Schedule Restart/Shutdown Day/Month being set wrong.

Nov 5, 2013 at 1:26 PM
Hi,

I was having an issue with scheduling shutdown or restart tasks.

I was setting the start date of a task as, for example, 1400h on 05/11/2013, but the task was being created with a trigger 1400h 11/05/2013.

I have managed to 'fix' the issue by changing the hardcoded date format from MM/dd/yyyy to dd/MM/yyyy within the powershell scripts.

Is there any way of pulling the date format based on the regional setting of the machine, or does it only work hard coded?

Other than that issue, these are a fantastic and useful set of tools.

Thank you.