socaldavis/powershell-for-sysadmins — explained in plain English
Analysis updated 2026-05-18
Find and disable inactive Active Directory user or computer accounts
Search every Group Policy Object in a domain for a specific setting
Monitor uptime, logged-in users, and disk space across servers
Bulk create Active Directory users from a CSV file
| socaldavis/powershell-for-sysadmins | deermiya/visio-skill | cloudwave818/ieee-skills | |
|---|---|---|---|
| Stars | 61 | 61 | 64 |
| Language | PowerShell | PowerShell | PowerShell |
| Setup difficulty | easy | moderate | easy |
| Complexity | 2/5 | 3/5 | 2/5 |
| Audience | ops devops | developer | researcher |
Figures from each repo's GitHub metadata at analysis time.
Scripts are dot-sourced or imported directly, swap in your own domain and machine names before running.
This project is a library of PowerShell scripts for Windows system administrators, published alongside the PC-Addicts YouTube channel. The scripts are rewritten, cleaned up versions of real scripts the author has used over 13 years on the job, made generic and safe to test in any environment rather than tied to one specific company's systems. Every script is sanitized on purpose: none of them contain real host names, domain names, IP addresses, email addresses, or anything tied to a specific employer. Examples use a fake lab domain and placeholder machine names, which a user swaps out for their own values. The author recommends testing everything in a lab environment first, and scripts that make destructive changes support PowerShell's built in safety flags that preview what would happen before actually doing it. The scripts are organized by task. There are tools for Active Directory work, such as finding inactive computer accounts, disabling inactive user accounts, copying user settings, and syncing HR data into Active Directory. There are Group Policy tools for searching every policy in a domain for a specific setting. Monitoring scripts check who is logged into a machine, system uptime, whether a reboot is pending, and free disk space. Network tools log dropped connections and quickly scan a subnet. There are also scripts for cleaning up old files based on retention rules, auditing folder permissions to a spreadsheet, and templates for a personal PowerShell profile and module. A separate, older set of five scripts sits at the root of the project, kept under their original names because a companion video and blog post reference them directly. These cover who is logged in, computer uptime, disabling unused accounts, emailing a disk space report, and bulk creating user accounts from a spreadsheet. Every script follows the same conventions: they work with PowerShell 5.1, include built in help text, and output structured data rather than plain text so it can be piped into other commands. The whole library is released under the MIT license, so it can be freely used, modified, and redistributed, including commercially, with credit appreciated but not required.
A library of real-world PowerShell scripts for Windows sysadmins, covering Active Directory, Group Policy, monitoring, and reporting tasks.
Mainly PowerShell. The stack also includes PowerShell, Active Directory, Group Policy.
Free to use, modify, and redistribute, including commercially, under the MIT license. Credit is appreciated but not required.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly ops devops.
This repo across BitVibe Labs
Verify against the repo before relying on details.