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


hello - have following hw assignment, hoping help. thanks!

  1. use get-service cmdlet display status (running, stopped) of configuration manager remote control service. (all cmdlets return objects , objects have properties. in case, want display particular property of get-service object. can pipe get-service get-member,  get-service | get-member, list properties of object.

i agree mike said completely. 

i'll out make sure understand happening in command. have replace service name adobearmservice service name looking for, have google.

get-service -name adobearmservice | select-object -property status

using get-member after get-service show of properties can use after select-object -property. methods like: start, stop...



Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

Error: 0x800f080c - Feature name NetFX3 is unknown

server manager error: ADAM.events.xml could not be enumerated.

EventID 7036 after ID 10029