|
105 | 105 |
|
106 | 106 | .NOTES
|
107 | 107 |
|
108 |
| -**Version: 8.3** |
| 108 | +**Version: 8.4** |
109 | 109 |
|
110 |
| -**26 May, 2025** |
| 110 | +**11 June, 2025** |
111 | 111 |
|
112 | 112 | **Fixed issues**
|
113 |
| -* Running from CLI does not require "ApartmentState" to be Single-Threaded Apartment (STA). |
114 |
| - |
115 |
| -**New Features** |
116 |
| -* Search with onelevel and set the depth of the search |
117 |
| -* Get version number of the ntsecuritydescription |
118 |
| -* Export defaultsecuritydescriptor with readable permissions |
119 |
| -* Skip banner in CLI |
| 113 | +* Removed incorrect parameter name 'bolObjClass' |
120 | 114 |
|
121 | 115 |
|
122 | 116 | #>
|
@@ -522,7 +516,7 @@ Param
|
522 | 516 |
|
523 | 517 | )
|
524 | 518 |
|
525 |
| -[string]$ADACLScanVersion = "-------`nAD ACL Scanner 8.3 , Author: Robin Granberg, @ipcdollar1, Github: github.com/canix1 `n-------" |
| 519 | +[string]$ADACLScanVersion = "-------`nAD ACL Scanner 8.4 , Author: Robin Granberg, @ipcdollar1, Github: github.com/canix1 `n-------" |
526 | 520 | [string]$global:SessionID = [GUID]::NewGuid().Guid
|
527 | 521 | [string]$global:ACLHTMLFileName = "ACLHTML-$SessionID"
|
528 | 522 | [string]$global:SPNHTMLFileName = "SPNHTML-$SessionID"
|
@@ -13210,13 +13204,13 @@ Function ConvertCSVtoHTM {
|
13210 | 13204 | if ($tmpOU -ne $strOU) {
|
13211 | 13205 |
|
13212 | 13206 | $bolOUHeader = $true
|
13213 |
| - WriteOUT -bolACLExist $true -sd $txtSdObject -DSObject $strOU -Canonical $CanonicalName -strColorTemp $strColorTemp -boolReplMetaDate $bolReplMeta -strReplMetaDate $objLastChange -strObjClass $strObjectClass -bolObjClass $bolObjType -Type $OutputFormat -bolShowCriticalityColor $bolShowCriticalityColor -CREDS $CREDS -Version $strVersion -bolShowOUProtected $bolGetOUProtected -bolOUPRotected $bolOUProtected -boolACLSize $bolACLsize -strACLSize $strACLSize -CompareMode $bolCompare -OUHeader $bolOUHeader -FilterMode $bolFilter -bolTranslateGUID $bolGUIDtoText -GPO $GPO -GPODisplayname $GPOdisplayname -strSDDL $strSDDL -htmfileout $strFileHTA -bolCriticalityLevel $ShowCriticalityColor |
| 13207 | + WriteOUT -bolACLExist $true -sd $txtSdObject -DSObject $strOU -Canonical $CanonicalName -strColorTemp $strColorTemp -boolReplMetaDate $bolReplMeta -strReplMetaDate $objLastChange -strObjClass $strObjectClass -Type $OutputFormat -bolShowCriticalityColor $bolShowCriticalityColor -CREDS $CREDS -Version $strVersion -bolShowOUProtected $bolGetOUProtected -bolOUPRotected $bolOUProtected -boolACLSize $bolACLsize -strACLSize $strACLSize -CompareMode $bolCompare -OUHeader $bolOUHeader -FilterMode $bolFilter -bolTranslateGUID $bolGUIDtoText -GPO $GPO -GPODisplayname $GPOdisplayname -strSDDL $strSDDL -htmfileout $strFileHTA -bolCriticalityLevel $ShowCriticalityColor |
13214 | 13208 |
|
13215 | 13209 |
|
13216 | 13210 | $tmpOU = $strOU
|
13217 | 13211 | } else {
|
13218 | 13212 | $bolOUHeader = $false
|
13219 |
| - WriteOUT -bolACLExist $true -sd $txtSdObject -DSObject $strOU -Canonical $CanonicalName -strColorTemp $strColorTemp -boolReplMetaDate $bolReplMeta -strReplMetaDate $objLastChange -strObjClass $strObjectClass -bolObjClass $bolObjType -Type $OutputFormat -bolShowCriticalityColor $bolShowCriticalityColor -CREDS $CREDS -Version $strVersion -bolShowOUProtected $bolGetOUProtected -bolOUPRotected $bolOUProtected -boolACLSize $bolACLsize -strACLSize $strACLSize -CompareMode $bolCompare -OUHeader $bolOUHeader -FilterMode $bolFilter -bolTranslateGUID $bolGUIDtoText -GPO $GPO -GPODisplayname $GPOdisplayname -strSDDL $strSDDL -htmfileout $strFileHTA -bolCriticalityLevel $ShowCriticalityColor |
| 13213 | + WriteOUT -bolACLExist $true -sd $txtSdObject -DSObject $strOU -Canonical $CanonicalName -strColorTemp $strColorTemp -boolReplMetaDate $bolReplMeta -strReplMetaDate $objLastChange -strObjClass $strObjectClass -Type $OutputFormat -bolShowCriticalityColor $bolShowCriticalityColor -CREDS $CREDS -Version $strVersion -bolShowOUProtected $bolGetOUProtected -bolOUPRotected $bolOUProtected -boolACLSize $bolACLsize -strACLSize $strACLSize -CompareMode $bolCompare -OUHeader $bolOUHeader -FilterMode $bolFilter -bolTranslateGUID $bolGUIDtoText -GPO $GPO -GPODisplayname $GPOdisplayname -strSDDL $strSDDL -htmfileout $strFileHTA -bolCriticalityLevel $ShowCriticalityColor |
13220 | 13214 |
|
13221 | 13215 |
|
13222 | 13216 | }
|
@@ -13574,7 +13568,7 @@ Function Get-DefaultSD {
|
13574 | 13568 | Write-PermCSVTemplate -sd $sd -object $entry.distinguishedName -canonical $CanonicalName -objType $strObjectClassName -fileout $File -ACLMeta $bolReplMeta -strACLDate $strLastChangeDate -strInvocationID $strOrigInvocationID -strOrgUSN $strOrigUSN -Outfile $true -GPO $GPO -GPOdisplayname $GPOdisplayname -CREDS $CREDS
|
13575 | 13569 | } else {
|
13576 | 13570 | $OutputFormat = "Object"
|
13577 |
| - WriteOUT -bolACLExist $True -sd $sd -DSObject $entry.distinguishedName -Canonical $CanonicalName -boolReplMetaDate $bolReplMeta -strReplMetaDate $strLastChangeDate -strObjClass $strObjectClassName -bolObjClass $true -Type $OutputFormat -bolShowCriticalityColor $bolShowCriticalityColor -CREDS $CREDS -Version $strVersion |
| 13571 | + WriteOUT -bolACLExist $True -sd $sd -DSObject $entry.distinguishedName -Canonical $CanonicalName -boolReplMetaDate $bolReplMeta -strReplMetaDate $strLastChangeDate -strObjClass $strObjectClassName -Type $OutputFormat -bolShowCriticalityColor $bolShowCriticalityColor -CREDS $CREDS -Version $strVersion |
13578 | 13572 | }
|
13579 | 13573 | } else {
|
13580 | 13574 | WriteDefSDAccessHTM -bolACLExist $true -sd $sd -bolObjClass $true -strObjectClass $strObjectClassName -strColorTemp $strColorTemp -htmfileout $strFileDefSDHTA -strFileHTM $strFileDefSDHTM -OUHeader $bolOUHeader -boolReplMetaDate $bolReplMeta -strReplMetaVer $strVersion -strReplMetaDate $strLastChangeDate -bolCriticalityLevel $bolShowCriticalityColor -CompareMode $bolCompare -xlsxout $strFileEXCEL -Type $OutType
|
|
0 commit comments