The Surly Admin

Father, husband, IT Pro, cancer survivor

Set-ShutdownComputers – Without Confirmation

A while back I wrote a script that would restart a computer, but require a very firm confirmation from the administrator.  Two levels of confirmation, in fact and it’s been a fairly popular post on the blog too.  Recently someone asked for a similar script to work off of a set of computers, and considering the work I’ve been doing recently with the pipeline I thought this was an ideal time to revisit that script and add some functionality.  And remove the confirmations because seriously, what could go wrong?

Continue reading


February 7, 2013 Posted by | PowerShell | , , | Leave a comment