PS >Get-Service
PS>Get-WmiObject win32_service | select Name, DisplayName, State, PathName | Out-GridView
PS>Get-WmiObject win32_service | select Name, DisplayName, State, PathName | Export-Csv -path "C:\services.csv"
PS>Get-Service | Where Status -eq "Running" | Out-GridView
PS>Get-Service -ComputerName RemoteComputerName | Where Status -eq "Stopped" | Out-GridView
PS>Get-Service -Displayname "*plug*"
Comments
Post a Comment