From 549544e84d0e87c14c0b75c6728971e8bb3b541c Mon Sep 17 00:00:00 2001 From: Sam Erde Date: Wed, 11 Dec 2024 14:58:47 -0500 Subject: [PATCH] Fix parameter reference name --- Active Directory/Get-OUDetail.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Active Directory/Get-OUDetail.ps1 b/Active Directory/Get-OUDetail.ps1 index a116632..497d741 100644 --- a/Active Directory/Get-OUDetail.ps1 +++ b/Active Directory/Get-OUDetail.ps1 @@ -80,7 +80,7 @@ function Test-BlockInheritance { $OrganizationalUnit ) - if ($OU.gPOptions -eq 1) { + if ($OrganizationalUnit.gPOptions -eq 1) { $true } else { $false