PowerShell Genie

Task guides

Task guides: hands-on PowerShell walkthroughs for Active Directory, remoting, cloud administration, files, debugging, and Windows operations.

All topics are open. Sign in when you want to save progress across devices.

Windows PowerShell 5.1 and PowerShell 7

Filtering with Where-Object

Beginner ~15 min Lab

Keep the objects you want with -eq, -like and -gt, chain conditions with -and, and avoid the = trap. Predict which services pass the filter, then solve it from a blank prompt.

Build an Active Directory account review

Intermediate ~25 min Lab

Practice an Active Directory account review with fictional users. Filter boolean state, request useful properties, check department scope and build a read-only report.

Find the failing operation before changing the script

Intermediate ~25 min Lab

Diagnose three PowerShell failures with fixture-based experiments. Learn when catch runs, how to inspect command discovery and how to preserve useful error evidence.

Review large log files before touching them

Intermediate ~20 min Lab

Build a read-only log-file inventory in PowerShell. Filter extensions and byte counts, rank results, and learn what a SHA256 comparison can and cannot establish.

Check tenant, permission and completeness in Graph

Advanced ~30 min Lab

Diagnose a Microsoft Graph PowerShell inventory using recorded tenant, scope and pagination evidence. Choose the next check before assuming an empty report is correct.

Build a report from PowerShell objects

Beginner ~20 min Lab

Learn to filter, sort and select PowerShell objects with an editable service report. Predict each result, inspect pipeline stages and solve a fresh task.

Locate the layer that breaks a remote session

Intermediate ~25 min Lab

Work through PowerShell remoting failures by transport, DNS, listener reachability and authorization. Diagnose recorded WSMan cases without changing a real server.

Read process memory without guessing at CPU load

Beginner ~20 min Lab

Inspect fictional process objects, compare working-set bytes and cumulative CPU time, then build an editable top-memory PowerShell report with a final challenge.

PowerShell Remoting Deep Dive

Advanced ~30 min Lab

Go beyond Enter-PSSession: persistent sessions, fan-out remoting, remoting over SSH, and troubleshooting WinRM connections.

Just Enough Administration (JEA)

Advanced ~25 min Lab

Lock down remote administration with Just Enough Administration: constrained endpoints, role capabilities, and least-privilege remoting.

PowerShell 7 Features You Should Know

Beginner ~20 min Lab

What changed in PowerShell 7: ternary operators, pipeline parallelization, new operators, and cross-platform notes.

PowerShell Classes

Intermediate ~25 min Lab

Write reusable PowerShell classes: properties, methods, constructors, and when a class beats a function.

PowerShell Security: Logging and AMSI

Intermediate ~20 min Lab

See what PowerShell logs and why: script block logging, transcription, AMSI, and building an audit trail.

Export to Excel

Intermediate ~20 min Lab

Export PowerShell results to real Excel files with the ImportExcel module: formatting, multiple worksheets, tables and charts.

Send Email

Intermediate ~20 min Lab

Send mail from PowerShell with Send-MailMessage and SMTP, credentials done safely, plus the Microsoft Graph path for production scripts.

GUI and Forms

Advanced ~25 min Lab

Build Windows Forms apps with PowerShell: forms, labels, text boxes, buttons and click events with System.Windows.Forms.

Profiles

Beginner ~15 min Lab

Master the PowerShell profile: the four $PROFILE paths, creating and editing your profile, functions, aliases and prompt customization.

WMI Queries

Intermediate ~20 min Lab

Query WMI the modern way with Get-CimInstance: classes, -Filter and WQL queries, remote queries over WinRM.

Genie guidePowerShell guides by task and topic

Task guides: hands-on PowerShell walkthroughs for Active Directory, remoting, cloud administration, files, debugging, and Windows operations.