Source Code and Samples

Friday, 9 February 2007

Displaying Service Status and State for local or remote computers (PowerShell and WMI)

Description

Displaying Service Status and State for local or remote computers with powershell.

Source code

Get-WmiObject -Class Win32_Service -ComputerName . Select-Object -Property Status,Name,DisplayName,State

No comments: