PowerShell Genie
Practice Check stopped manual services

Check stopped manual services

Exercise 2 min read Windows PowerShell 5.1 and PowerShell 7

Documentation: Microsoft Learn

Return services that are both stopped and configured for Manual startup.

An example to inspect

Preview the example. Sign in for the full lesson and activities.

Get-Service | Where-Object Status -eq 'Stopped' | Where-Object StartType -eq 'Manual' | Select-Object Name, Status, StartType

The task

A service report flags every stopped service as an incident. Narrow the report and decide what more you need to know.

Target

Return services that are both stopped and configured for Manual startup.

What the result tells you

Manual startup does not mean broken. Some services start on demand or in response to triggers; check the expected role and dependencies before acting.

Verify the result

Run the source by itself and inspect the sample objects. Add each filter separately, then check the final properties and order.

The browser uses a small fictional dataset. Real results depend on the host, module, account and target environment.

Does a stopped Manual service prove a fault?

Choose an answer, then check your reasoning.

Worked solution

Worked solution

Reveal one approach
1PS> Get-Service | Where-Object Status -eq 'Stopped' | Where-Object StartType -eq 'Manual' | Select-Object Name, Status, StartType

Related reference

Read the command and platform requirements
Next exercise

Try it in the lab

Write your pipeline below and run it against the fictional sample data, then check your result against the expected answer.

Interactive simulation · fictional data
Genie guideCheck stopped manual services

Return services that are both stopped and configured for Manual startup.