
Testing Security Functions with Pester: A Real-World Example
A real path traversal validator, tested end to end with Pester. The test patterns, the edge cases that actually matter, and coverage that holds up once the function ships.

A real path traversal validator, tested end to end with Pester. The test patterns, the edge cases that actually matter, and coverage that holds up once the function ships.

Deleting an AD account does not remove the security references pointing at it; they sit in ACLs as orphaned SIDs. An over-engineered PowerShell solution to find them at scale, with batching, logging and full test coverage.

Kerberoasting depends on RC4 still being available. How to inventory encryption types across the domain and automate the move to AES without locking anyone out.

I went looking for a real use case for PowerShell classes and found one: blue/green patch deployment, with zero downtime and a rollback that takes effect immediately.

Copilot writes whatever PowerShell it feels like unless you tell it otherwise. Encoding your team’s standards as custom instructions so generated code matches your style, error handling and testing rules.

The PowerShell AST lets you analyze a script as a structure instead of reading it line by line: finding unused code, mapping dependencies, and navigating 1500-line scripts without hunting for a missing brace.

Pushing CIS benchmarks to hundreds of Windows servers with Systems Manager and DSC, including CloudWatch dashboards and scheduled maintenance windows.

Why your Windows instances never show up in Systems Manager, how to fix the agent and the IAM role, and how to get DSC logs into CloudWatch. The troubleshooting guide the AWS docs skipped.

Windows security configuration drifts, constantly. This starts a step-by-step series on automating CIS benchmarks with PowerShell DSC and AWS Systems Manager.

OneDrive administration notes from the M365 Community Conference: sync controls, retention, storage limits, and the settings most admins never touch.