Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Use the Get-Service cmdlet to display just the status (Running, Stopped) of a service

$
0
0

Hello - I have the following hw assignment, was hoping for some help. Thanks!

  1. Use the Get-Service cmdlet to display just the status (Running, Stopped) of the Configuration Manager Remote Control service. (All cmdlets return objects and those objects have properties. In this case, you want to display a particular property of the Get-Service object. You can pipe Get-Service to Get-Member,  Get-Service | Get-Member, to list all the properties of an object.

Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>