Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Remote restart computer script with user interaction

$
0
0

Hi Support,

As we are checking the a remote restart PC script for restart user’s PC with user prompt up.

I tried both psshutdown and shutdown commend.

Both command is able to restart, but we hope to have a pop up screen for user and let user to terminate the shutdown process if they doesn’t want to restart in 30 sec.

  1. shutdown  /c "Restart by IT"   /r  /m\\192.168.1.123  /t 30
  2. psshutdown -c

both the above is not work.

Any suggestion?

Thanks

Chong





Viewing all articles
Browse latest Browse all 15028

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>