Get-Service locks your services

Get-Service will lock your service database till you close the session. If you just need the services information it is better to select the particular properties to prevent the service database from being locked. The right way to get the services information is

Get-Service | select Name,  Status,  DisplayName

Advertisements