Skip to content

Commit

Permalink
ps1 vars
Browse files Browse the repository at this point in the history
  • Loading branch information
tunisiano187 committed Jul 6, 2024
1 parent 2f828dd commit 2d6a959
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions automatic/ad-acl-scanner/tools/ADACLScan.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -1368,7 +1368,7 @@ Add-Type @"

"@
}catch
{
{
$error++
}

Expand All @@ -1387,7 +1387,7 @@ Add-Type @"
"@
}
catch
{
{
$error++
}

Expand Down Expand Up @@ -7363,7 +7363,7 @@ function GetDomainShortName
$adObject = $response.Entries[0]
}
catch
{
{
$error++
}

Expand Down Expand Up @@ -7576,7 +7576,7 @@ Function CacheRightsGuids
$colResults = $searcherSent.Entries
}
catch
{
{
$error++
}
$intCounter = 0
Expand Down Expand Up @@ -8024,7 +8024,7 @@ else

}
catch
{
{
$error++
}
if($null -ne $strObjectType )
Expand Down Expand Up @@ -8100,7 +8100,7 @@ if ($global:strAccNameTranslation -eq "")

}
catch
{
{
$error++
}

Expand Down Expand Up @@ -12017,7 +12017,7 @@ if($GPO)
$GPOdisplayname = $result.attributes.displayname[0]
}
catch
{
{
$error++
}
}
Expand Down Expand Up @@ -13143,7 +13143,7 @@ while($count -le $AllObjectDn.count -1)
$GPOdisplayname = $result.attributes.displayname[0]
}
catch
{
{
$error++
}
}
Expand Down Expand Up @@ -16617,7 +16617,7 @@ if($base -or $GPO)
$strNode = fixfilename $response.Entries[0].Attributes.name[0]
}
catch
{
{
$error++
}

Expand Down

0 comments on commit 2d6a959

Please sign in to comment.