Closed SamErde closed 3 months ago
Added parameter validation, comments, and consistent parameter formatting.
Replaced four instances of (Get-Forest) with one $Forest = Get-Forest and $Forest.
(Get-Forest)
$Forest = Get-Forest
$Forest
Removed extraneous semicolon.
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.