Powershell Services
Get a listing of all services that are set to 'Automatic' startup that is currently 'Stopped'
Get-Service | Where-Object {$_.StartType -eq 'Automatic'} | where-object {$_.Status -eq 'Stopped'}
Attempt to start the services that are not currently running that are set to automatic. (limited success)
Get-Service | Where-Object {$_.StartType -eq 'Automatic'} | where-object {$_.Status -eq 'Stopped'} | Start-Service
Get listing of all services
Get-Service
Get all properties of services
get-service | get-member
No Comments