Copy · paste · run

PowerShell one-liners you can actually paste.

Ready-to-run PowerShell for the Windows admin tasks you actually do — services, processes, AD, event logs, files, network — each with what it does and how to export it.

15 recipes

You know the cmdlet exists. You don't remember the exact pipeline.

Each recipe is a focused, copy-paste one-liner for a real admin task, with a one-line explanation, the elevation it needs, and the gotchas.

FAQ

Are these PowerShell one-liners free?

Yes. Every recipe is free to read and copy, with no account or paywall.

PowerShell 5.1 or 7?

Both. Recipes use cmdlets in Windows PowerShell 5.1 and 7+, and note any 7-only feature.

Do I need to run as Administrator?

Some do (services, Security log, firewall). Each recipe notes when an elevated prompt is required.

Get-ADUser not recognized?

AD cmdlets need the ActiveDirectory module (RSAT). Install it or run from a management box.

Open the full interactive site ↗