Skip to content

Automation & Systems Administration Toolkit

Scripts library

A curated library of PowerShell and Python tools for administration, diagnostics, reporting and repeatable operational support. Filter by language, runtime, function or validation status, or search by title and keyword.

Every script below is published and source-reviewed for embedded credentials, private endpoints and environment-specific identifiers. Read the full library on GitHub for source, usage examples and parameters.

Language
Runtime
Function
Validation

10 of 10 scripts

PowerShell 5.1+ Validated

Get-SystemInventory.ps1

Export a detailed Windows hardware, software, network, and event-log inventory.

Review notes

Standardized author/company/version metadata; no embedded secrets or private endpoints detected.

Validation status

PowerShell parse and local report-generation test passed.

Safety considerations

Read the script help before running it, and test in a non-production environment first. Review generated reports before sharing — system inventories can contain computer names, usernames, serial numbers, installed software and IP addresses.

View source on GitHub
PowerShell 5.1+ Validated

Get-SystemReport-HTML.ps1

Build a styled, navigable HTML system report.

Review notes

Standardized author/company/version metadata; no embedded secrets or private endpoints detected.

Validation status

PowerShell parse and local HTML-generation test passed.

Safety considerations

Read the script help before running it, and test in a non-production environment first. The generated report captures local system detail — review it before sharing.

View source on GitHub
PowerShell 5.1+ Testing pending

Invoke-DomainHealthCheck.ps1

Diagnose DNS, routing, ports, HTTP/S, and SNI for a domain.

Review notes

Standardized metadata; examples use public documentation domains and resolvers.

Validation status

PowerShell parse passed; live-network test pending.

Safety considerations

Read the script help before running it, and test in a non-production environment first. Runs outbound network queries against the domain you supply.

View source on GitHub
PowerShell 5.1+ Testing pending

Measure-DiskThroughput.ps1

Measure sequential disk read and write throughput with cleanup safeguards.

Review notes

Safer 1 GB single-drive default; dedicated work folder; partial-file cleanup; configurable CSV output.

Validation status

PowerShell parse and missing-drive/CSV safety path passed; full throughput test intentionally pending.

Safety considerations

Read the script help before running it, and test in a non-production environment first. Creates and deletes large temporary benchmark files in a dedicated work folder — confirm free space before running.

View source on GitHub
PowerShell 7+ Validated

Scan-PortRange.ps1

Scan an authorized TCP port range using bounded parallel connections.

Review notes

Replaced private-network examples with reserved documentation addresses; added authorization warning and PowerShell version guard.

Validation status

PowerShell parse and two-port loopback smoke test passed.

Safety considerations

Use only against systems you own or have explicit written permission to test. Unauthorized port scanning may breach acceptable-use policy or law. Requires PowerShell 7 or later.

View source on GitHub
PowerShell 5.1+ Validated

Get-ProcessSnapshot-CSV.ps1

Export process CPU, memory, I/O, thread, and handle data.

Review notes

Standardized author/company/version metadata; no embedded secrets or private endpoints detected.

Validation status

PowerShell parse and local CSV-generation test passed.

Safety considerations

Read the script help before running it, and test in a non-production environment first. Exported process data can reveal usernames and installed software.

View source on GitHub
PowerShell 5.1+ Testing pending

Watch-RouterTraffic-UPnP.ps1

Log router WAN byte counters and calculated bandwidth to CSV.

Review notes

Removed embedded router address; unicast fallback is now explicit and optional.

Validation status

PowerShell parse passed; compatible-router test pending.

Safety considerations

Read the script help before running it, and test in a non-production environment first. Requires a UPnP-capable router with the service enabled.

View source on GitHub
PowerShell 5.1+ Validated

Watch-PingUntilOffline.ps1

Monitor a host until it becomes unreachable, with optional logging.

Review notes

Removed embedded home-network target; target is now a mandatory parameter.

Validation status

PowerShell parse and offline-target/logging test passed.

Safety considerations

Read the script help before running it, and test in a non-production environment first. Runs continuously until the target stops responding or you interrupt it.

View source on GitHub
Python 3.9+ Validated

batch_compress_images.py

Recompress JPEG/PNG image trees without overwriting source files.

Review notes

Added publication metadata, argument validation, deterministic ordering, and protection against reprocessing its own output tree.

Validation status

Python compile, JPEG/PNG round trip, and repeat-run tests passed.

Safety considerations

Read the script help before running it, and test in a non-production environment first. Writes to a separate output tree and does not modify source images.

View source on GitHub
Python 3.9+ Validated

sql_dependency_graph.py

Render an interactive dependency graph from a SQL object-edge CSV.

Review notes

Added publication metadata, normalized public filename and examples, literal filtering, escaped tooltips, and self-contained UTF-8 HTML output.

Validation status

Python compile and two-edge standalone graph-generation test passed.

Safety considerations

Read the script help before running it, and test in a non-production environment first. Reads a CSV you supply; the generated HTML embeds your object names.

View source on GitHub