header image

W2KSG: Check Spooler Service

Posted by: | October 30, 2008 | No Comment |

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: ,

under: PowerShell original