W2KSG: Check Spooler Service

Checking the status of a service in PowerShell is very easy.

Listing 13.6 in the scripting guide shows how to check the status of the print service using 8 lines of VBScript. It translates to

Get-Service -Name "Spooler"

It doesn't get any easier.

 

Share this post :

 

Technorati Tags: ,

Read the complete post at http://richardsiddaway.spaces.live.com/Blog/cns!43CFA46A74CF3E96!1842.entry

Published Thu, Oct 30 2008 3:47 by Richard Siddaway's Blog
Filed under: