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: PowerShell,Services
under: PowerShell original