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?