TrimarcJake / Locksmith

A small tool built to find and fix common misconfigurations in Active Directory Certificate Services.
https://github.com/TrimarcJake/Locksmith
Other
901 stars 89 forks source link

Code quality updates for 2024.9 #159

Closed SamErde closed 3 months ago

SamErde commented 3 months ago

Invoke-Locksmith

Parameters

Added parameter validation, comments, and consistent parameter formatting.

Reused Code

Replaced four instances of (Get-Forest) with one $Forest = Get-Forest and $Forest.

Misc

Removed extraneous semicolon.