Thursday, October 17, 2013

Powershell: List services on remote machine

# Use This to list\view services on remote server(s)
#Joe Piggee
---  Begin Code----
cls
gwmi win32_service -comp (gc c:\servers.txt) | select __server,name,startmode,state,status | Out-Gridview

--- End Code ---

No comments:

Post a Comment