Just sharing some of my inconsequential lunch conversations with you... RSS  

Thursday, August 14, 2008

Powershell to the rescue

Yes, I know, I have the strange habit of shutdown down as many services as I can, and sometimes I shutdown services I still need. Here's how I start them all at once, just to check if some service is needed:

Get-WmiObject Win32_Service -Filter "State='Stopped' and StartMode <> 'Disabled'" | Start-Service

Not impressive, I'm afraid. But it works!

No comments:

Development Catharsis :: Copyright 2006 Mário Romano