Export-PermissionPortable

0.0.604

Present complex nested permissions and group memberships in a report that is easy to read

Provide additional properties of each account such as Name, Description, Title, Department, Company, or any specified property

Multithreaded with in-process caching for fast results

Works as a scheduled task

Works as a custom sensor script for Paessler PRTG Network Monitor (P
Present complex nested permissions and group memberships in a report that is easy to read

Provide additional properties of each account such as Name, Description, Title, Department, Company, or any specified property

Multithreaded with in-process caching for fast results

Works as a scheduled task

Works as a custom sensor script for Paessler PRTG Network Monitor (Push sensor recommended due to execution time)

Supports:
- Active Directory domain trusts
- Unresolved SIDs for deleted accounts
- Service SID resolution
- Group memberships via an account's Primary Group as well as its memberOf property
- ACL Owners (shown in the report as having Full Control originating from Ownership)

Does not support these scenarios:
- Unsupported SDDL Components:
  - The System Access Control List (SACL) containing ACL Auditors is not reported.
  - The Primary Group is not reported.
- File permissions (ToDo enhancement; for now only folder permissions are reported)
- Share permissions (ToDo enhancement; for now only NTFS permissions are reported)

Behavior:
- Resolves each path in the SourcePath parameter
- Local paths become UNC paths using the administrative shares, so the computer name is shown in reports
- DFS paths become all of their UNC folder targets, including disabled ones
- Mapped network drives become their UNC paths
- Gets children of the resolved paths to the specified RecurseDepth
- Gets all permissions for the parent paths
- Gets non-inherited permissions for the discovered children
- Uses CIM and ADSI to get information about the accounts and groups listed in the permissions
- Uses ADSI to recursively retrieve group members
- Retrieves group members using both the memberOf and primaryGroupId attributes
- Members of nested groups are retrieved and returned as members of the group listed in the permissions.
    - Their hierarchy of nested group memberships is not retrieved (for performance reasons).
- Exports permissions to files of the specified File Formats, using the specified report Detail levels
- Outputs permissions to the pipeline in the specified Output Format and using the highest specified report Detail level


Show more

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name Export-PermissionPortable

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) Jeremy La Camera. All rights reserved.

Package Details

Author(s)

  • Jeremy La Camera

Tags

adsi ldap winnt ntfs acl

Functions

Get-DfsNetInfo Get-FileShareInfo Get-NetDfsEnum FakeDirectoryEntry RefreshCache Invoke ConvertFrom-AppCapabilitySid ConvertFrom-ScShowSidResult ConvertTo-AccountCache ConvertTo-DirectoryEntry ConvertTo-PermissionPrincipal ConvertTo-ServiceSID ConvertTo-SidString Find-AdsiProvider Find-CachedWellKnownSID Find-WinNTGroupMember Get-CachedDirectoryEntry Get-DirectoryEntryParentName Get-SidTypeMap Invoke-IADsGroupMembersMethod Invoke-ScShowSid Resolve-IdRefAppPkgAuth Resolve-IdRefBuiltIn Resolve-IdRefCached Resolve-IdRefGetDirEntry Resolve-IdRefSearchDir Resolve-IdRefSID Resolve-IdRefSvc Resolve-SidAuthority Split-DirectoryPath Test-AdsiProvider Add-DomainFqdnToLdapPath Add-SidInfo ConvertFrom-DirectoryEntry ConvertFrom-PropertyValueCollectionToString ConvertFrom-ResolvedID ConvertFrom-ResultPropertyValueCollectionToString ConvertFrom-SearchResult ConvertFrom-SidString ConvertTo-DecStringRepresentation ConvertTo-DistinguishedName ConvertTo-DomainNetBIOS ConvertTo-DomainSidString ConvertTo-Fqdn ConvertTo-HexStringRepresentation ConvertTo-HexStringRepresentationForLDAPFilterString ConvertTo-SidByteArray Expand-AdsiGroupMember Expand-WinNTGroupMember Find-LocalAdsiServerSid Get-AdsiGroup Get-AdsiGroupMember Get-AdsiServer Get-CurrentDomain Get-DirectoryEntry Get-KnownCaptionHashTable Get-KnownSid Get-KnownSidByName Get-KnownSidHashTable Get-ParentDomainDnsName Get-TrustedDomain Get-WinNTGroupMember Invoke-ComObject New-FakeDirectoryEntry Resolve-IdentityReference Resolve-ServiceNameToSID Search-Directory ConvertTo-ClassExclusionDiv ConvertTo-FileList ConvertTo-FileListDiv ConvertTo-IgnoredDomainDiv ConvertTo-MemberExclusionDiv ConvertTo-NameExclusionDiv ConvertTo-PermissionGroup ConvertTo-PermissionList ConvertTo-PermissionPrtgXml ConvertTo-ScriptHtml Expand-AccountPermissionItemAccessReference Expand-AccountPermissionReference Expand-FlatPermissionReference Expand-ItemPermissionAccountAccessReference Expand-ItemPermissionReference Expand-SourcePermissionReference Get-ColumnJson Get-DetailDivHeader Get-FolderPermissionTableHeader Get-HtmlBody Get-HtmlReportElements Get-HtmlReportFooter Get-PermissionProgress Get-ReportDescription Get-ReportErrorDiv Get-SummaryDivHeader Get-SummaryTableHeader Group-AccountPermissionReference Group-ItemPermissionReference Group-SourcePermissionReference Memory Merge-AceAndPrincipal New-PermissionCacheRef Out-PermissionDetailReport Resolve-Ace Resolve-Acl Resolve-Folder Resolve-FormatParameter Resolve-GroupByParameter Resolve-IdentityReferenceDomainDNS Resolve-SplitByParameter Select-AccountTableProperty Select-ItemTableProperty Select-PermissionTableProperty Add-CacheItem Add-PermissionCacheItem ConvertTo-ItemBlock ConvertTo-PermissionFqdn Expand-Permission Expand-PermissionSource Find-CachedCimInstance Find-ResolvedIDsWithAccess Find-ServerFqdn Format-Permission Format-TimeSpan Get-AccessControlList Get-CachedCimInstance Get-CachedCimSession Get-PermissionPrincipal Get-PermissionTrustedDomain Get-PermissionWhoAmI Get-TimeZoneName Initialize-PermissionCache Invoke-PermissionAnalyzer Invoke-PermissionCommand Optimize-PermissionCache Out-Permission Out-PermissionFile Remove-CachedCimSession Resolve-AccessControlList Resolve-PermissionSource Select-PermissionPrincipal ConvertTo-BootstrapJavaScriptTable ConvertTo-BootstrapListGroup ConvertTo-BootstrapTableScript ConvertTo-HtmlList Get-BootstrapTemplate Get-JavaScript New-BootstrapAlert New-BootstrapCodeBlock New-BootstrapColumn New-BootstrapDiv New-BootstrapDivWithHeading New-BootstrapGrid New-BootstrapList New-BootstrapPanel New-BootstrapReport New-BootstrapTable New-HtmlAnchor New-HtmlHeading New-HtmlParagraph Get-ParamValueString ConvertTo-DnsFqdn ConvertTo-PSCodeString Export-LogCsv Get-CurrentHostName Get-CurrentWhoAmI Get-ParamStringMap New-DatedSubfolder Write-LogMsg GetDirectories ConvertTo-SimpleProperty Expand-Acl Find-ServerNameInPath Format-SecurityPrincipalMember Format-SecurityPrincipalMemberUser Format-SecurityPrincipalName Format-SecurityPrincipalUser Get-DirectorySecurity Get-FileSystemAccessRule Get-OwnerAce Get-ServerFromFilePath Get-Subfolder New-NtfsAclIssueReport Add-PsCommand Add-PsModule Convert-FromPsCommandInfoToString Expand-PsCommandInfo Expand-PsToken Get-PsCommandInfo Open-Thread Split-Thread Wait-Thread Format-PrtgXmlResult Format-PrtgXmlSensorOutput Send-PrtgXmlSensorOutput

Dependencies

This script has no dependencies.

Release Notes

bugfix remove rogue code

FileList

Version History

Version Downloads Last updated
0.0.604 (current version) 63 1/22/2025
0.0.603 5 1/22/2025
0.0.602 7 1/22/2025
0.0.601 7 1/22/2025
0.0.600 6 1/21/2025
0.0.599 7 1/21/2025
0.0.598 7 1/21/2025
0.0.597 6 1/21/2025
0.0.596 6 1/21/2025
0.0.595 6 1/21/2025
0.0.594 6 1/21/2025
0.0.593 5 1/21/2025
0.0.591 7 1/18/2025
0.0.590 7 1/18/2025
0.0.589 6 1/18/2025
0.0.588 6 1/18/2025
0.0.587 8 1/18/2025
0.0.584 5 1/18/2025
0.0.582 7 1/17/2025
0.0.581 5 1/17/2025
0.0.580 6 1/17/2025
0.0.579 7 1/17/2025
0.0.578 7 1/17/2025
0.0.577 6 1/16/2025
0.0.576 5 1/16/2025
0.0.574 5 1/16/2025
0.0.573 6 1/16/2025
0.0.571 5 1/16/2025
0.0.570 6 1/16/2025
0.0.569 7 1/16/2025
0.0.568 7 1/16/2025
0.0.567 6 1/16/2025
0.0.566 10 1/13/2025
0.0.565 8 1/13/2025
0.0.564 7 1/13/2025
0.0.563 5 1/13/2025
0.0.561 6 1/13/2025
0.0.560 7 1/12/2025
0.0.559 21 1/5/2025
0.0.558 8 12/31/2024
0.0.557 7 12/31/2024
0.0.556 6 12/31/2024
0.0.555 6 12/31/2024
0.0.554 6 12/31/2024
0.0.553 6 12/31/2024
0.0.552 5 12/31/2024
0.0.551 6 12/31/2024
0.0.550 6 12/31/2024
0.0.549 6 12/31/2024
0.0.548 6 12/31/2024
0.0.547 6 12/31/2024
0.0.546 6 12/31/2024
0.0.545 5 12/31/2024
0.0.543 6 12/31/2024
0.0.542 7 12/31/2024
0.0.541 5 12/31/2024
0.0.540 6 12/31/2024
0.0.538 6 12/31/2024
0.0.537 6 12/31/2024
0.0.536 6 12/31/2024
0.0.535 6 12/30/2024
0.0.534 6 12/30/2024
0.0.526 7 12/30/2024
0.0.525 6 12/30/2024
0.0.524 5 12/30/2024
0.0.523 6 12/30/2024
0.0.522 7 12/30/2024
0.0.521 7 12/30/2024
0.0.520 6 12/30/2024
0.0.519 7 12/30/2024
0.0.518 6 12/30/2024
0.0.517 5 12/30/2024
0.0.511 6 12/30/2024
0.0.510 6 12/30/2024
0.0.509 6 12/30/2024
0.0.493 6 12/13/2024
0.0.492 6 12/13/2024
0.0.491 5 12/13/2024
0.0.490 6 12/13/2024
0.0.489 6 12/13/2024
0.0.488 6 12/13/2024
0.0.487 6 12/13/2024
0.0.486 5 12/13/2024
0.0.484 5 12/13/2024
0.0.483 6 12/13/2024
0.0.482 6 12/13/2024
0.0.481 6 12/13/2024
0.0.478 6 12/13/2024
0.0.477 7 12/12/2024
0.0.476 6 12/11/2024
0.0.475 7 12/11/2024
0.0.474 5 12/10/2024
0.0.473 10 12/10/2024
0.0.472 8 12/10/2024
0.0.471 6 12/10/2024
0.0.470 5 12/10/2024
0.0.469 5 12/10/2024
0.0.468 6 12/10/2024
0.0.465 6 12/10/2024
0.0.464 6 12/9/2024
0.0.463 6 12/9/2024
0.0.462 6 12/9/2024
0.0.461 6 12/9/2024
0.0.460 6 12/9/2024
0.0.459 6 12/9/2024
0.0.458 7 12/9/2024
0.0.457 5 12/9/2024
0.0.454 6 12/9/2024
0.0.453 6 12/9/2024
0.0.452 5 12/9/2024
0.0.434 7 12/9/2024
0.0.433 5 12/9/2024
0.0.429 6 12/9/2024
0.0.428 7 12/9/2024
0.0.427 8 12/6/2024
0.0.426 6 12/1/2024
0.0.425 7 12/1/2024
0.0.423 6 12/1/2024
0.0.422 6 12/1/2024
0.0.421 5 12/1/2024
0.0.420 5 12/1/2024
0.0.419 6 12/1/2024
0.0.418 6 12/1/2024
0.0.417 8 12/1/2024
0.0.416 8 11/25/2024
0.0.415 7 11/25/2024
0.0.414 6 11/23/2024
0.0.413 6 11/23/2024
0.0.412 7 11/23/2024
0.0.411 7 11/23/2024
0.0.410 6 11/23/2024
0.0.409 6 11/20/2024
0.0.408 8 11/18/2024
0.0.407 8 11/16/2024
0.0.406 7 11/11/2024
0.0.405 6 11/11/2024
0.0.404 10 11/4/2024
0.0.403 7 11/4/2024
0.0.402 9 10/18/2024
0.0.401 6 10/14/2024
0.0.400 6 10/12/2024
0.0.399 7 10/12/2024
0.0.398 6 10/12/2024
0.0.397 5 10/12/2024
0.0.396 6 10/12/2024
0.0.395 5 10/12/2024
0.0.394 5 10/12/2024
0.0.393 6 10/12/2024
0.0.392 5 10/12/2024
0.0.391 7 10/7/2024
0.0.390 6 10/6/2024
0.0.389 5 10/6/2024
0.0.388 6 10/6/2024
0.0.387 7 10/6/2024
0.0.386 6 10/6/2024
0.0.385 6 10/6/2024
0.0.384 5 10/6/2024
0.0.383 6 10/6/2024
0.0.382 5 10/6/2024
0.0.381 6 10/6/2024
0.0.380 6 10/6/2024
0.0.379 5 10/6/2024
0.0.378 6 10/6/2024
0.0.377 6 10/6/2024
0.0.376 6 10/6/2024
0.0.375 7 10/4/2024
0.0.374 7 10/4/2024
0.0.373 6 10/4/2024
0.0.372 7 10/3/2024
0.0.371 5 10/3/2024
0.0.370 6 10/3/2024
0.0.369 10 9/27/2024
0.0.367 20 9/15/2024
0.0.366 8 9/15/2024
0.0.365 7 9/15/2024
0.0.364 18 9/4/2024
0.0.363 11 9/4/2024
0.0.362 11 9/4/2024
0.0.361 11 9/4/2024
0.0.360 11 9/4/2024
0.0.359 10 9/4/2024
0.0.358 11 9/4/2024
0.0.357 17 6/17/2024
0.0.356 8 6/17/2024
0.0.351 8 6/17/2024
0.0.330 8 6/16/2024
0.0.301 7 6/16/2024
0.0.300 8 6/16/2024
0.0.299 8 6/16/2024
0.0.295 8 6/16/2024
0.0.294 7 6/16/2024
0.0.293 8 6/16/2024
0.0.292 8 6/16/2024
0.0.291 8 6/16/2024
0.0.290 8 6/16/2024
0.0.289 7 6/16/2024
0.0.288 7 6/16/2024
0.0.287 7 6/16/2024
0.0.286 7 6/16/2024
0.0.285 8 6/16/2024
0.0.284 7 6/16/2024
0.0.283 8 6/16/2024
0.0.282 7 6/16/2024
0.0.281 7 6/16/2024
0.0.280 8 6/16/2024
0.0.279 7 6/16/2024
0.0.278 8 6/16/2024
0.0.277 8 6/16/2024
0.0.276 8 6/16/2024
0.0.265 8 5/28/2024
0.0.264 9 5/22/2024
0.0.263 7 5/22/2024
0.0.262 21 4/8/2024
0.0.261 8 4/7/2024
0.0.260 8 4/7/2024
0.0.249 8 4/7/2024
0.0.248 8 4/7/2024
0.0.247 8 4/7/2024
0.0.238 15 2/19/2024
0.0.234 12 2/10/2024
0.0.233 13 2/5/2024
0.0.232 11 2/5/2024
0.0.231 10 2/5/2024
0.0.230 11 2/5/2024
0.0.229 11 2/5/2024
0.0.228 11 2/5/2024
0.0.227 11 2/5/2024
0.0.226 10 2/5/2024
0.0.225 12 2/5/2024
0.0.224 11 2/4/2024
0.0.223 10 2/4/2024
0.0.222 11 2/4/2024
0.0.221 12 2/4/2024
0.0.220 10 2/3/2024
0.0.219 11 2/3/2024
0.0.218 13 1/31/2024
0.0.217 11 1/31/2024
0.0.216 10 1/31/2024
0.0.215 10 1/31/2024
0.0.214 14 1/29/2024
0.0.213 13 1/29/2024
0.0.212 13 1/29/2024
0.0.211 11 1/29/2024
0.0.210 10 1/29/2024
0.0.209 10 1/29/2024
0.0.208 12 1/28/2024
0.0.207 11 1/28/2024
0.0.204 11 1/27/2024
0.0.203 10 1/27/2024
0.0.202 10 1/27/2024
0.0.201 10 1/27/2024
0.0.198 9 1/27/2024
0.0.197 10 1/27/2024
0.0.196 11 1/27/2024
0.0.195 12 1/21/2024
0.0.194 10 1/21/2024
0.0.193 10 1/21/2024
0.0.192 10 1/21/2024
0.0.191 9 1/21/2024
0.0.190 10 1/21/2024
0.0.189 10 1/20/2024
0.0.188 11 1/20/2024
0.0.187 11 1/20/2024
0.0.186 12 1/16/2024
0.0.185 10 1/16/2024
0.0.184 11 1/16/2024
0.0.183 11 1/16/2024
0.0.182 10 1/16/2024
0.0.181 11 1/16/2024
0.0.180 11 1/16/2024
0.0.179 11 1/15/2024
0.0.178 11 1/15/2024
0.0.177 11 1/15/2024
0.0.176 10 1/15/2024
0.0.175 12 1/14/2024
0.0.174 11 1/14/2024
0.0.173 11 1/14/2024
0.0.172 11 1/14/2024
0.0.171 10 1/14/2024
0.0.168 11 1/14/2024
0.0.167 11 1/14/2024
0.0.166 10 1/13/2024
0.0.165 10 1/13/2024
0.0.163 88 10/16/2022
0.0.162 32 9/6/2022
0.0.161 23 9/6/2022
0.0.160 23 9/6/2022
0.0.159 24 9/4/2022
0.0.158 23 9/4/2022
0.0.157 23 9/4/2022
0.0.156 22 9/3/2022
0.0.155 22 9/3/2022
0.0.154 23 9/1/2022
0.0.153 23 8/28/2022
0.0.152 22 8/28/2022
0.0.151 23 8/28/2022
0.0.150 23 8/28/2022
0.0.149 22 8/28/2022
0.0.148 22 8/28/2022
0.0.147 23 8/28/2022
0.0.146 23 8/27/2022
0.0.145 23 8/27/2022
0.0.144 22 8/26/2022
0.0.143 22 8/25/2022
0.0.142 24 8/25/2022
0.0.141 24 8/25/2022
0.0.140 23 8/22/2022
0.0.139 25 8/22/2022
0.0.138 23 8/22/2022
0.0.137 23 8/21/2022
0.0.136 22 8/21/2022
0.0.135 23 8/20/2022
0.0.134 21 8/20/2022
0.0.133 24 8/20/2022
0.0.132 22 8/20/2022
0.0.131 23 8/20/2022
0.0.130 21 8/20/2022
0.0.129 21 8/20/2022
0.0.128 23 8/20/2022
0.0.127 22 8/20/2022
0.0.126 22 8/20/2022
0.0.125 23 8/20/2022
0.0.124 23 8/19/2022
0.0.123 22 8/19/2022
0.0.122 23 8/19/2022
0.0.121 24 8/18/2022
0.0.120 30 8/15/2022
0.0.119 23 8/14/2022
0.0.118 23 8/14/2022
0.0.117 27 8/7/2022
0.0.116 24 8/6/2022
0.0.115 25 8/6/2022
0.0.114 25 8/6/2022
0.0.113 22 8/6/2022
0.0.112 25 8/1/2022
0.0.111 22 8/1/2022
0.0.110 24 8/1/2022
0.0.109 24 8/1/2022
0.0.108 23 8/1/2022
0.0.107 24 8/1/2022
0.0.106 24 8/1/2022
0.0.105 25 8/1/2022
0.0.104 23 8/1/2022
0.0.103 24 8/1/2022
0.0.97 25 8/1/2022
0.0.96 24 8/1/2022
0.0.95 24 8/1/2022
0.0.94 24 7/31/2022
0.0.93 26 7/31/2022
0.0.92 25 7/31/2022
0.0.91 24 7/31/2022
0.0.90 25 7/27/2022
0.0.89 25 7/27/2022
0.0.88 25 7/27/2022
0.0.87 26 7/27/2022
Show more