Candice wants to retreive all the services that are in running state. Which among the following script she have to excecute in order to achieve the same?

Get-Service | Select-Object{$_.Status -eq "Running"}

Get-Service | Where-Object{$_.Status -eq "Running"}

Get-Service | measure-Object{$_.Status -eq "Running"}

Get-Service | Select-Object{$_.Status -eq "Running"} | Where-Object{$_.Status -eq "Running"}

Verified Answer
Correct Option - b

To get all Infosys Certified Full Stack System Administrator - Windows - Intermediate Exam questions Join Telegram Group https://rebrand.ly/lex-telegram-236dee

Telegram