This article introduces the reader to Powershell. The application that it demonstrates is one that monitors SQL Server Agent to make sure it is running.
This is cool and have used the WMI myself. I have run into problems collecting information from domains that are not trusted though. Is there a way to collect information off servers that are not joined to the domain with powershell?