Command-line and PowerShell diagnostics
Gather facts fast with systeminfo, Get-ComputerInfo, Get-WinEvent, Get-Service, tasklist, driverquery, powercfg and winget, and read what they tell you.
- Level
- Intermediate
- Length
- About 40 minutes
- Contents
- 3 lessons · 1 video · final exam
- Status
- Published · updated 1 Oct 2026
Skills you'll practise
- Choose the right command to answer a diagnostic question.
- Interpret the output of common Windows diagnostic commands.
- Collect evidence quickly and safely during remote sessions.
Course outline
- 1.Command-line and PowerShell diagnosticsVideo · 5 min
- 2.Facts in secondsLesson · 8 min
- 3.cmd and PowerShell side by sideLesson · 8 min
- 4.Capturing evidence safely: files, transcripts and exit codesLesson · 8 min
- 5.Command-line and PowerShell diagnostics: knowledge checkKnowledge check · 22 questions
- 6.Command-line and PowerShell diagnostics: practical exerciseKnowledge check · 1 question
- 7.Laptop hot and flat in the bagScenario
- 8.Final exam6 questions · passing it completes the course, so people who already know the material can test out
Sources it draws on
The lessons and questions are written from these references, so learners can go back to the original.
- Microsoft Learn: systeminfo
- Microsoft Learn: Get-ComputerInfo
- Microsoft Learn: powercfg command-line options
- Microsoft Learn: tasklist
- Microsoft Learn: driverquery
See it with your own jobs and topics
Tell us about your team and we'll walk you through setup, from choosing jobs to your first skills check.