Personal knowledge base for system administration: troubleshooting procedures, reference notes, and automation scripts collected from Service Desk work and my own lab.
The goal is simple: solve a problem once, document it, and never troubleshoot it from scratch again.
I work in IT Service Desk and I'm building towards a System Administrator role. Day to day that means:
- Windows workstation and domain troubleshooting
- Active Directory account and computer support
- Enterprise applications and vendor escalations
- Incident management
Outside work I run Linux servers, Docker containers, and self-hosted services, which is where the Linux and homelab notes will come from.
My learning plan, with progress and links to the work that shows it, is in roadmap.md. I study each topic with the study prompt.
Step-by-step procedures written for real support work, with safety checks and escalation points.
| Procedure | Use it when |
|---|---|
| Windows UEFI Boot Recovery | Windows no longer starts on a UEFI/GPT machine |
| UEFI Boot Recovery: Advanced Troubleshooting | The standard boot recovery didn't fix it |
| Windows PC Cleanup and Optimization | A workstation is low on disk space or needs maintenance |
| Remote Explorer Restart and Event Investigation | A desktop session is hung or you need to review remote Windows event logs |
| Note | Contents |
|---|---|
| Network Port Cheatsheet | Common ports for AD, DNS, DHCP, remote support, and infrastructure, plus PowerShell port tests |
| Common Windows Commands | Quick command reference |
| Script | Language | What it does |
|---|---|---|
| Service Desk Toolkit | PowerShell + Batch | Menu-driven toolkit for Service Desk tickets: AD user and computer lookups, lockout source, unlocks and password resets, LAPS, PC health check, user messages, and remote Group Policy updates |
| Windows Cleanup | PowerShell | Automated version of the cleanup procedure, with a report of what was done and how much space was recovered |
| Service Manager | PowerShell | Check, start, stop, or restart a service across many computers using number ranges like 070-085 |
| Shift Log | PowerShell + Batch | Terminal editor for shift reports: planned work, timestamped entries, carry-over of open items to the next shift, and a report ready to copy into a handover |
| GPS Locator | PowerShell + Batch | Reads the latest NMEA fix from a remote computer's GPS log and opens it in Google Maps |
| Git Config Scripts | Bash | Sets up Git identity, SSH authentication, and SSH commit signing on my Linux machines, and switches a repository's origin to SSH |
sysadmin-notes/
├── README.md
├── roadmap.md
├── study-prompt.md
├── LICENSE
├── windows/
│ ├── common-commands.md
│ ├── network-port-cheatsheet.md
│ └── procedures/
│ ├── windows-cleanup.md
│ ├── winre-uefi-recovery.md
│ └── winre-uefi-advanced-troubleshooting.md
└── scripts/
├── powershell/
│ ├── servicedesk-toolkit/
│ ├── gps-locator/
│ ├── service-manager/
│ ├── shift-log/
│ └── windows-cleanup/
└── bash/
└── git-config-scripts/
These sections will be added as the content is written:
- linux/ - Linux administration and troubleshooting
- networking/ - Networking concepts and diagnostics
- docker/ - Docker and Docker Compose notes and examples
- monitoring/ - Monitoring, logging, and observability
- case-studies/ - Sanitized incident write-ups: symptom, investigation, root cause, fix
- homelab/ - Self-hosting and personal infrastructure
- Microsoft Learn
- Windows Server Documentation
- Microsoft Troubleshooting Documentation
- Sysinternals
- PowerShell Documentation
- Arch Wiki
- Debian Documentation
- Red Hat Documentation
- Ubuntu Server Documentation
- Linux Journey
- TLDR Pages
- Awesome Sysadmin
- Practical Networking
- Cisco Documentation
- NetworkLessons
- Cloudflare Learning Center
- Wireshark Documentation
- RFC Editor
- Docker Documentation
- Docker Compose Documentation
- LinuxServer.io
- Awesome Compose
- Podman Documentation
- Grafana Documentation
- Prometheus Documentation
- Zabbix Documentation
- Uptime Kuma
- Netdata Documentation
- OWASP
- CIS Benchmarks
- Microsoft Security Documentation
- NIST Cybersecurity Framework
- Security Onion Documentation
I use AI tools in this repository and don't hide it. Commits made with AI say so and end with a Co-authored-by line naming the tool, and commits without that line are my own work.
This marking starts with commit 8f298a6, so earlier commits aren't labelled either way.
This repository is a personal knowledge base. All examples, procedures, and configurations have been sanitized and generalized to remove sensitive or proprietary information.
Scripts and procedures are provided as-is. Review and test them in a non-production environment, and follow your organization's change-management and security policies before using them on real systems.
This work is licensed under the Creative Commons Attribution 4.0 International License.
You are free to share and adapt the contents of this repository for any purpose, provided appropriate credit is given.