Past ExamsRwanda ICT preparation

Topics / Operating Systems

Which PowerShell command lists only the services that are currently stopped?

Quelle commande PowerShell liste uniquement les services actuellement arrêtés ?

Answers
AGet-Service | Where-Object Status -eq 'Stopped'Get-Service | Where-Object Status -eq 'Stopped'
BGet-Service -Stopped | Select-Object Name, Status, StartTypeGet-Service -Stopped | Select-Object Name, Status, StartType
CStop-Service | Get-ServiceStop-Service | Get-Service
Dnet stop | findstr servicesnet stop | findstr services
The answer and explanation are in the full bank.

This question is one of 2,831 in the paid banks. Each comes with the correct answer and the reasoning behind it, not just a mark.

Unlock for 5,000 RWF

MIFOTRA exam practicealigned to Practice set: Linux and CMD Commands·2 marks·Medium

More Operating Systems questions