Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Get-Service Powershell Basics

258 views

Published on

Get-Service Powershell Basics

Published in: Software
  • Be the first to comment

Get-Service Powershell Basics

  1. 1. Get-Service Powershell #List the windows services in the system Get-Service | more #list the services that matches name like *win* get-service -name *win* #list the services that matches DisplayName like *sql* get-service -DisplayName *sql* #another simple way to retrieve services "*sql*" | get-service #list the services that are currently running get-service | where {$_.Status -eq "Running"} | more #list the services - order by status get-service | sort status | more

×