This repository contains a refactored, robust, and powerful collection of PowerShell scripts originally gathered by nickrod518. The scripts have been structured into a standard PowerShell Module format.
- Massive Enterprise Scale: Contains over 14,000 advanced PowerShell functions covering Active Directory, Azure, Exchange, Networking, CyberSecurity, and more.
- Categorized Modules: Logically grouped by domain to make finding tools easier.
- Compiled Module Design: A
Build-Module.ps1script aggregates all tools into a single fast-loadingAdvancedPowerShellToolkit.psm1. - Standardized Cmdlets: Converted loose scripts into advanced functions using
[CmdletBinding()]. - Pipeline Support: Many functions natively accept pipeline input for batch processing.
- Robust Error Handling: Added
try/catchblocks and proper error logging. - CIM over WMI: Updated older WMI calls to use modern CIM instances (
Get-CimInstance). - CI/CD Integration: Includes a GitHub Action to automatically run
PSScriptAnalyzeron every push to ensure code quality.
You can import this module directly on your machine:
# Clone the repository
git clone https://github.com/<YOUR_GITHUB_USERNAME>/AdvancedPowerShellToolkit.git
# Navigate to the directory
cd AdvancedPowerShellToolkit
# Import the module
Import-Module .\AdvancedPowerShellToolkit.psd1The toolkit covers 20 major IT administration domains, including:
- Active Directory & Identity Access Management
- Azure, VMware, & AWS
- Exchange & M365, SharePoint & Teams
- Windows Server & Hyper-V
- Linux & Unix
- Cloud Native, DevOps, & Kubernetes
- CyberSecurity & Networking
- Databases, End User Computing, SCCM & Intune ...and many more.
See the Docs/ folder for detailed capability tracking.
To add new scripts:
- Write an advanced function and save it as a
.ps1file. - Drop it into the corresponding category folder inside the
Public/directory. - Run
.\Build-Module.ps1from the root of the repository to compile the.psm1file and update the module manifest (.psd1). - Reload the module using
Import-Module .\AdvancedPowerShellToolkit.psd1 -Force.
Refer to the Markdown files in the Docs/ directory for an exhaustive, categorized list of available commands and implementation status.
MIT License