Talk With an Expert

PowerShell Scripts Collection

Last updated: 17 Jun, 2025
Created by
Jason Fossen
Jason Fossen

This is a large collection of PowerShell scripts from SANS course SEC505 Securing Windows and PowerShell Automation. The folders in the zip file are named after each section of the course.  There are scripts for PowerShell Remoting, OpenSSH for Windows, PowerShell Just Enough Admin (JEA), Active Directory, Local Admin Account management, WMI/CIM, Windows DNS, Windows Firewall, IPsec Zero Trust, Windows Services/Roles/Features, SMB Encryption, 802.11 Wireless, Public Key Infrastructure (PKI), Windows Audit Policies, and more.  The scripts to replace Microsoft LAPS are found in the zip in the \Day3\UpdatePasswords folder.  The slides from the System Informer/Process Hacker talk are in the \Extras folder of the zip download.  All of the scripts are free and in the public domain.

Author

Jason Fossen
Jason Fossen

Jason Fossen

Fellow

Jason has worked as an independent consultant supporting Microsoft environments for over 25 years and has trained thousands of Windows network administrators and security personnel in more than a dozen countries around the world.

Read more about Jason Fossen