The Surly Admin

Father, husband, IT Pro, cancer survivor

Restart-Computers with Firm Confirmation

I’m always on the look out for new PowerShell projects.  Doesn’t much matter if they’re little projects–like this one–or big ones–like The DFS Monitor With History.  This is why I’m always on the Spiceworks IT Programming forums and PowerGui.org’s forums.

Today I ran across a little script someone was writing in batch and I decided to write it in PowerShell for a couple of reasons.  I had not really played with the Read-Host functionality yet and I wanted to play with the built-in documentation functionality of PowerShell which I discovered while on vacation.  Yes, I read PowerShell stuff while on vacation, it’s a weakness (so far I’ve been able to hold off on the PowerShell reference app for the iPad, but not sure how much longer)!!

Continue reading

Advertisements

August 28, 2012 Posted by | PowerShell | , , , , , | 2 Comments