Reviewed PowerShell toolkit

Automation Script Library

Preview, understand, and download reviewed scripts for diagnostics and controlled IT automation.

Review before running
Automation scripts can change a computer. Confirm the parameters, use -WhatIf when available, and run them only on systems you are authorized to manage.

System-changing tools

Automation

Controlled maintenance and configuration tasks with confirmation, preview, and recovery guidance.

Remediation Windows PowerShell Moderate risk

Clear a Stuck Print Queue

Previews and removes queued jobs from one printer without restarting the Print Spooler or affecting other queues.

  • Verifies the selected printer exists
  • Shows every job targeted for removal
  • Removes only jobs from the named printer after confirmation

Supports a -WhatIf preview

Review script
Administration Windows PowerShell Moderate risk

Restart a Selected Windows Service

Safely previews and restarts one explicitly named Windows service after validating its current state.

  • Verifies the selected service exists
  • Displays its current status and display name
  • Restarts only the selected service after confirmation

Supports a -WhatIf preview

Review script
Configuration Windows PowerShell Moderate risk

Map a Network Drive

Validates a UNC path and maps it to an available drive letter with an optional persistent sign-in mapping.

  • Validates the requested drive letter is available
  • Tests whether the UNC path is reachable
  • Creates only the requested mapping after confirmation

Supports a -WhatIf preview

Review script

Read-only tools

Diagnostic Collectors

Evidence collectors that create local reports without changing system configuration.

System Information Windows PowerShell Low risk

Windows System Snapshot

Creates a concise inventory of Windows, hardware, uptime, storage, and network-adapter state.

  • Windows edition, version, architecture, and last boot time
  • Computer manufacturer, model, processor, and memory
  • Volume capacity and network-adapter status
Review script
Performance Windows PowerShell Low risk

Performance Diagnostic Report

Captures high-resource processes, memory availability, storage space, uptime, and recent system errors.

  • Top processes by processor time and memory use
  • Available memory, uptime, and volume free space
  • Recent critical and error events from the System log
Review script
Networking Windows PowerShell Low risk

Network Connectivity Report

Records adapter, IP, gateway, DNS, route, and optional approved-host connectivity evidence.

  • Network adapter and IP configuration
  • Default routes and configured DNS servers
  • Optional DNS and TCP 443 test to a host you specify
Review script
Storage Windows PowerShell Low risk

Disk Space Assessment

Summarizes volume capacity and the largest top-level user-profile folders without deleting content.

  • Volume capacity, free space, and health status
  • Approximate size of top-level folders in the current user profile
  • Windows temporary-folder size without listing individual files
Review script
Applications Windows PowerShell Low risk

Application Crash Evidence Collector

Collects recent application errors and Windows Error Reporting events for a named application.

  • Matching recent Application log errors
  • Windows Error Reporting events
  • Application name, collection time, and Windows version
Review script
Printing Windows PowerShell Low risk

Printer Diagnostic Report

Captures installed printer, port, driver, queue, and Print Spooler evidence without changing a queue.

  • Installed printer status, drivers, ports, and sharing state
  • Current queued jobs and their status
  • Print Spooler service status and recent print-service errors
Review script