This repository contains a variety of PowerShell scripts and resources, organised by topic and technology area.
PowerShell Scripting Best Practices.md - A comprehensive guide for creating high-quality PowerShell scripts. This document serves as an excellent reference for LLMs and developers to ensure scripts follow best practices for readability, maintainability, and security.
Folder Name | Description / Script Types |
---|---|
AI and LLM Related | Document conversion tools (Docx to Markdown, Pandoc), repository analysis, and sparse checkout for Repomix usage |
GUI-Enabled Scripts | PowerShell scripts with graphical (WPF) user interfaces, including Markdown to Word conversion tools |
Infosec-Related | Security tools: file hashing, MITRE ATT&CK technique mapping, DKIM selector checking, email reconnaissance, endpoint cleanup, and Prowler OCSF analysis |
Microsoft Active Directory | Active Directory management: SPN enumeration, privileged user analysis, group monitoring, and manager hierarchy reporting |
Microsoft ADCS | Active Directory Certificate Services automation for Azure Blob PKI storage updates |
Microsoft Azure | Azure Logic Apps automation including run history retrieval and analysis |
Microsoft Entra ID | Entra ID (Azure AD) management: OAuth app permissions analysis, tenant resolution, recursive group membership, and PowerShell permissions auditing |
Microsoft Graph | Microsoft Graph API automation for security reporting, including Secure Score controls export |
Microsoft Sentinel | Comprehensive Microsoft Sentinel automation: analytics rules management, Content Hub updates, threat hunting, security incidents, and MITRE ATT&CK Navigator integration |
Microsoft Windows | Windows system management: event log archiving, custom Event Viewer configurations, local admin account creation, network monitoring, and scheduled task automation |
Random | Miscellaneous utilities including Australian government domain enumeration |
Each folder contains scripts tailored to its topic, ranging from automation and reporting to security and GUI tools.
I've recently removed a bunch of old content and reorganised what's here. If you're after any old IT admin-style scripts that I previously hosted here, you can check them out in the repo history.
Some of these scripts might still reference my old Twitter handle and my old IT blog which is now defunct and should no longer be accessible online. My current blog can be found at https://dstreefkerk.github.io