A curated collection of PowerShell and batch scripts gathered over years of Windows systems administration. They're shared publicly in the hope that they save someone else time, a starting point, a reference, or a worked example when you're solving a similar problem.
Scripts span common sysadmin areas, organized by folder, including:
- Active Directory (users, groups, computers, health checks)
- Microsoft 365 / Exchange administration
- Networking and DNS
- Monitoring and reporting
- Endpoint and store-systems setup
- Scheduled tasks and general utilities
- Provided "as is" under the MIT License, with no warranty. Read a script and understand what it does before running it.
- Test in a non-production environment first. Many of these perform administrative actions.
- Genericized for publication. Environment-specific details (hostnames, share
paths, IDs) have been replaced with neutral placeholders such as
\\SERVER\SHARE\...,C:\temp\,Application-Key-Here, andUFO_NUMBER. You'll need to substitute values appropriate to your own environment. - No live credentials are included; any that once existed have been removed and rotated.
- Improvements are welcome — see CONTRIBUTING.md.
- To report a security issue privately, see SECURITY.md.
Hope they help.