PowerShell Background Jobs Cheat Sheet
Start, inspect, wait for, receive, stop, remove, throttle, and troubleshoot PowerShell process, thread, and remote background jobs safely.
Open cheat sheet7 organized subcategories
PowerShell, system administration, files, and troubleshooting.
Choose a focus
58 focused guides grouped by the kind of task you need to complete.
Build reliable scripts, pipelines, modules, jobs, configuration, and scheduled automation.
Browse subcategory 11 guidesAdminister identities, certificates, permissions, secrets, policy, and endpoint protection.
Browse subcategory 8 guidesConfigure Windows networking, name services, firewalls, shares, and remote sessions.
Browse subcategory 6 guidesOperate services, web servers, virtual machines, containers, packages, and WSL.
Browse subcategory 6 guidesManage disks, replicated storage, backups, clusters, and distributed filesystems.
Browse subcategory 10 guidesInspect, partition, format, resize, and manage physical and virtual disks safely with DiskPart.
Browse subcategory 7 guidesInventory, observe, troubleshoot, update, and govern Windows systems.
Browse subcategory10 cheat sheets
Build reliable scripts, pipelines, modules, jobs, configuration, and scheduled automation.
Start, inspect, wait for, receive, stop, remove, throttle, and troubleshoot PowerShell process, thread, and remote background jobs safely.
Open cheat sheetBuild reliable PowerShell data with PSCustomObject, classes, enums, constructors, validation, formatting, and serialization boundaries.
Open cheat sheetAudit and enforce Windows configuration with Microsoft DSC 3 and legacy PowerShell DSC, with safe testing, version boundaries, and rollout guidance.
Open cheat sheetHandle PowerShell failures predictably with terminating errors, try/catch/finally, ErrorRecord inspection, preference controls, and native exit codes.
Open cheat sheetNavigate, inspect, create, copy, move, search, and safely remove Windows files and directories with PowerShell.
Open cheat sheetDiscover, inspect, stage, install, import, update, pin, troubleshoot, and remove PowerShell modules with PSResourceGet and core module commands.
Open cheat sheetInspect, filter, sort, transform, group, measure, and export objects with practical PowerShell pipelines.
Open cheat sheetInspect and manage Windows registry keys and values through PowerShell providers with literal paths, typed values, existence checks, WhatIf previews, and backups.
Open cheat sheetCall HTTP APIs safely with Invoke-RestMethod and Invoke-WebRequest, including JSON, authentication, sessions, pagination, retries, downloads, and errors.
Open cheat sheetInspect, compose, register, run, export, disable, and remove Windows scheduled tasks with PowerShell's ScheduledTasks module.
Open cheat sheet11 cheat sheets
Administer identities, certificates, permissions, secrets, policy, and endpoint protection.
Plan, deploy, audit, back up, publish, and recover Windows Server AD CS certification authorities with production-safe PowerShell workflows.
Open cheat sheetAdminister AD DS users, groups, and computers safely with PowerShell discovery, scoped searches, stable identities, change previews, lifecycle controls, and verification.
Open cheat sheetDesign, audit, test, deploy, and recover Windows application control policies with App Control for Business, WDAC, and AppLocker.
Open cheat sheetDesign, test, deploy, audit, and safely operate least-privilege PowerShell remoting endpoints with JEA role capabilities.
Open cheat sheetAudit Microsoft Defender Antivirus health, intelligence updates, scans, detections, exclusions, tamper protection, events, and performance with PowerShell.
Open cheat sheetRegister, configure, use, rotate, and troubleshoot PowerShell secret vaults without leaking credentials into code, output, history, or logs.
Open cheat sheetAudit BitLocker encryption, TPM readiness, key protectors, recovery escrow, suspension windows, progress, and safe recovery planning with PowerShell.
Open cheat sheetInspect Windows certificate stores, validate identity, expiry, chains, private keys, import and export safely, verify Authenticode signatures, and sign PowerShell scripts.
Open cheat sheetInspect, explain, back up, modify, restore, and verify Windows file-system access control lists, owners, inheritance, and effective identities.
Open cheat sheetInspect and administer Windows local users and groups safely with PowerShell, secure password input, SID-based identity, membership previews, and reversible controls.
Open cheat sheetDeploy and operate sMSA, gMSA, and Windows Server 2025 dMSA identities safely with KDS planning, scoped password retrieval, SPNs, workload integration, and auditing.
Open cheat sheet8 cheat sheets
Configure Windows networking, name services, firewalls, shares, and remote sessions.
Diagnose Windows networking with PowerShell commands for interfaces, addresses, routes, DNS, reachability, ports, and TCP or UDP endpoints.
Open cheat sheetDiscover, test, invoke, session, secure, troubleshoot, and clean up PowerShell remoting connections over WSMan or SSH.
Open cheat sheetInspect profiles, effective rules, port and address filters, create narrowly scoped rules, preview changes, export policy, test connectivity, and remove rules safely.
Open cheat sheetOperate Windows DHCP Server safely with PowerShell: authorize servers, audit scopes and leases, stage options and reservations, configure IPv4 failover, export state, and verify service health.
Open cheat sheetAdminister Windows DNS Server safely with PowerShell: audit zones and records, create AD-integrated zones, manage records and aging, inspect forwarding, export data, and troubleshoot resolution.
Open cheat sheetPlan, deploy, drain, monitor, and troubleshoot Windows Server Network Load Balancing clusters and port rules with PowerShell.
Open cheat sheetAudit RDS deployments, collections, hosts, configuration, licensing, RemoteApps, and user sessions with safe PowerShell workflows.
Open cheat sheetInventory and create Windows SMB shares, reconcile share and NTFS access, require encryption, inspect sessions and open files, and disconnect clients safely.
Open cheat sheet6 cheat sheets
Operate services, web servers, virtual machines, containers, packages, and WSL.
Inventory, create, configure, start, stop, checkpoint, export, import, and recover Hyper-V virtual machines safely with PowerShell.
Open cheat sheetInventory IIS sites and pools, back up configuration, create isolated applications, manage HTTPS bindings, inspect inheritance, and diagnose requests safely.
Open cheat sheetInspect, start, wait for, and safely stop Windows processes and services with PowerShell object-based management cmdlets.
Open cheat sheetPrepare, build, inspect, run, secure, troubleshoot, and update Windows containers with Docker CLI and Windows Server guidance.
Open cheat sheetSearch, inspect, install, list, upgrade, export, import, pin, source, and troubleshoot Windows applications with winget.
Open cheat sheetInstall, inventory, update, run, stop, convert, back up, restore, and safely remove WSL distributions with current wsl.exe commands.
Open cheat sheet6 cheat sheets
Manage disks, replicated storage, backups, clusters, and distributed filesystems.
Deploy, inspect, tune, monitor, and recover DFS Namespaces and DFS Replication on Windows Server without risking replicated data.
Open cheat sheetInspect Windows physical disks, partition styles, partitions, volumes, drive letters, health, capacity, supported resize ranges, and safe initialization workflows.
Open cheat sheetBuild, inspect, run, monitor, and restore Windows Server Backup policies safely with wbadmin and the WindowsServerBackup PowerShell module.
Open cheat sheetValidate, inventory, maintain, troubleshoot, and safely move Windows Server failover cluster workloads with PowerShell.
Open cheat sheetAssess, configure, monitor, reverse, resize, and safely remove Windows Server Storage Replica partnerships with PowerShell.
Open cheat sheetInventory, design, provision, expand, monitor, and repair standalone Windows Storage Spaces pools and virtual disks safely with PowerShell.
Open cheat sheet10 cheat sheets
Inspect, partition, format, resize, and manage physical and virtual disks safely with DiskPart.
Create and verify legacy BIOS/MBR Windows layouts with DiskPart, including active system, Windows, recovery, extended, and logical partitions.
Open cheat sheetWipe partition metadata with DiskPart clean or clean all, convert empty disks between GPT and MBR, verify targets, and choose MBR2GPT when data must remain.
Open cheat sheetInspect and manage DiskPart online state, read-only flags, volume attributes, SAN policy, automount behavior, and disk identifiers without losing focus.
Open cheat sheetAssign and remove DiskPart drive letters or NTFS folder mount points, manage automount policy, scrub stale paths, and suppress unwanted letter assignment.
Open cheat sheetInspect resize limits, shrink or extend DiskPart volumes, grow filesystems, and delete partitions or volumes with explicit dependency and recovery checks.
Open cheat sheetInspect supported filesystems and format DiskPart volumes as NTFS, exFAT, FAT32, or ReFS with deliberate labels, allocation units, and verification.
Open cheat sheetUse DiskPart safely from an elevated terminal: discover storage objects, control focus, verify identity, read help, rescan hardware, and run auditable scripts.
Open cheat sheetInspect and maintain legacy Windows dynamic disks with DiskPart while planning migration to basic disks or Storage Spaces for new resilient storage.
Open cheat sheetBuild a current Windows UEFI/GPT deployment layout with DiskPart: EFI system, Microsoft reserved, Windows, and protected Windows RE partitions.
Open cheat sheetCreate, select, inspect, attach, detach, compact, expand, and merge VHD or VHDX files with DiskPart while protecting parent chains and host capacity.
Open cheat sheet7 cheat sheets
Inventory, observe, troubleshoot, update, and govern Windows systems.
Investigate Windows event logs with Get-WinEvent discovery, server-side hashtable filters, structured properties, XML, archived files, remote queries, and summaries.
Open cheat sheetInventory Windows hardware, firmware, storage, networking, and operating-system facts safely with CIM sessions and PowerShell.
Open cheat sheetCollect, preserve, validate, and triage Windows kernel and user-mode crash dumps with WER, ProcDump, DumpChk, and WinDbg.
Open cheat sheetInspect, set, persist, remove, expand, and troubleshoot Windows environment variables and PATH across process, user, and machine scopes.
Open cheat sheetInventory, back up, stage, link, delegate, validate, and troubleshoot domain Group Policy safely with PowerShell, GPMC, RSoP, and controlled refreshes.
Open cheat sheetMeasure Windows CPU, memory, disk, network, and process behavior with bounded performance-counter collections and PowerShell diagnostics.
Open cheat sheetInventory, scan, stage, install, verify, and troubleshoot Windows updates with PowerShell, Windows Update Agent, DISM, event logs, and controlled reboots.
Open cheat sheet