git404hub

what is powershell-for-sysadmins fr?

socaldavis/powershell-for-sysadmins — explained in plain English

Analysis updated 2026-05-18

61PowerShellAudience · ops devopsComplexity · 2/5LicenseSetup · easy

tl;dr

A library of real-world PowerShell scripts for Windows sysadmins, covering Active Directory, Group Policy, monitoring, and reporting tasks.

vibe map

mindmap
  root((PowerShell Library))
    What it does
      Sysadmin script collection
      Sanitized and parameterized
      MIT licensed
    Tech stack
      PowerShell
      Active Directory
      Group Policy
    Use cases
      AD account cleanup
      GPO search
      Server monitoring
      Disk and file reports
    Audience
      Windows sysadmins
      IT ops teams

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Find and disable inactive Active Directory user or computer accounts

VIBE 2

Search every Group Policy Object in a domain for a specific setting

VIBE 3

Monitor uptime, logged-in users, and disk space across servers

VIBE 4

Bulk create Active Directory users from a CSV file

what's the stack?

PowerShellActive DirectoryGroup Policy

how it stacks up fr

socaldavis/powershell-for-sysadminsdeermiya/visio-skillcloudwave818/ieee-skills
Stars616164
LanguagePowerShellPowerShellPowerShell
Setup difficultyeasymoderateeasy
Complexity2/53/52/5
Audienceops devopsdeveloperresearcher

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · easy time til it works · 5min

Scripts are dot-sourced or imported directly, swap in your own domain and machine names before running.

Free to use, modify, and redistribute, including commercially, under the MIT license. Credit is appreciated but not required.

in plain english

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.

prompts (copy fr)

prompt 1
Help me adapt the Disable-InactiveADUser script to run against my own Active Directory domain safely with -WhatIf first.
prompt 2
Explain what the Find-GPOBySetting script does and how to run it across all GPOs in my domain.
prompt 3
Walk me through setting up the emailed disk-space report script for my server list.
prompt 4
Show me how to bulk create Active Directory users from a CSV using New-ADUsersFromCsv.ps1.

Frequently asked questions

what is powershell-for-sysadmins fr?

A library of real-world PowerShell scripts for Windows sysadmins, covering Active Directory, Group Policy, monitoring, and reporting tasks.

What language is powershell-for-sysadmins written in?

Mainly PowerShell. The stack also includes PowerShell, Active Directory, Group Policy.

What license does powershell-for-sysadmins use?

Free to use, modify, and redistribute, including commercially, under the MIT license. Credit is appreciated but not required.

How hard is powershell-for-sysadmins to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is powershell-for-sysadmins for?

Mainly ops devops.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.