Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scripts-library

A personal collection of sysadmin, diagnostic, and automation scripts — across operating systems, components, and software. Each script is self-contained and documented in its own header.

How this is organized

Scripts are filed by platform first, then by component or software, so anything new has an obvious home and the tree stays browsable as it grows.

scripts/
├── windows/          # PowerShell, batch, Windows-specific tooling
│   └── rds/          #   Remote Desktop Services
├── linux/            # bash, systemd, distro tooling
├── macos/            # zsh/bash, launchd, Apple-specific tooling
├── cross-platform/   # runs anywhere (Python, portable shell, etc.)
└── cloud/            # AWS / Azure / GCP / M365 and other hosted platforms

Add a new category by adding a folder. Group by the thing the script is about (the OS, the role, the product), not by language.

Using a script

Open the file first — every script documents its purpose, parameters, and how to run it in a header comment. Windows PowerShell scripts generally expect an elevated session; read the .SYNOPSIS/.DESCRIPTION before running.

⚠️ A note on output

Some of these scripts collect diagnostic data — event logs, network config, installed software, certificates, user and host identifiers. That collected output is often sensitive and is not meant to live in this repo. .gitignore excludes the common output folders and archives, but the rule of thumb stands: review and scrub any collected output before sharing it, and never commit a real run.

License

MIT — use freely, no warranty.

Index

Platform Area Script Purpose
Windows RDS Collect-RDSDiagnostics.ps1 Collects RDS diagnostic data (event logs, session timeline, disconnect reason codes, config) for analyzing session-disconnect issues. Text-first output for AI or human review.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages