NOTE:
RUN AS LOCAL SYSTEM USER.
1. GIVE THE TIME IN TIME PARAMETER IN SECONDS for eg., if you want to give 10 minutes then give 600. the datatype should be integer.
2.give 0 in options if you want to create shutdown at specific time.
give 1 if you to disable the shutdown that you created with this script for the specific time.
give 2 if you want to postpone the shutdown time. if you give 2 then new shutdown time will be created with time mentioned in the time parameter.
the datatype should be a integer.
for example:
if you already created a shutdown for a specific time but now you want to shutdown the system after 1 hour then just give 3600 in time parameter and give 2 in the v parameter.
Comments