Export-PermissionPortable

0.0.484

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

Multithread with in-process caching for fast results

Works as a scheduled task

Works as a custom sensor script for Paessler PRTG Network Monitor (Pus
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

Multithread 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 TargetPath 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 -RequiredVersion 0.0.484

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-TargetPermissionReference Get-ColumnJson Get-DetailDivHeader Get-FolderPermissionTableHeader Get-HtmlBody Get-HtmlReportElements Get-HtmlReportFooter Get-PermissionProgress Get-ReportDescription Get-SummaryDivHeader Get-SummaryTableHeader Group-AccountPermissionReference Group-ItemPermissionReference Group-TargetPermissionReference 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-CachedCimInstance Add-CacheItem Add-PermissionCacheItem ConvertTo-ItemBlock ConvertTo-PermissionFqdn Expand-Permission Expand-PermissionTarget 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-Cache Invoke-PermissionAnalyzer Invoke-PermissionCommand New-PermissionCache Out-Permission Out-PermissionFile Remove-CachedCimSession Resolve-AccessControlList Resolve-PermissionTarget Select-PermissionPrincipal ConvertTo-BootstrapJavaScriptTable ConvertTo-BootstrapListGroup ConvertTo-BootstrapTableScript ConvertTo-HtmlList Get-BootstrapTemplate Get-JavaScript New-BootstrapAlert 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

try markdown syntax

FileList

Version History

Version Downloads Last updated
0.0.493 3 12/13/2024
0.0.492 2 12/13/2024
0.0.491 2 12/13/2024
0.0.490 2 12/13/2024
0.0.489 3 12/13/2024
0.0.488 2 12/13/2024
0.0.487 2 12/13/2024
0.0.486 2 12/13/2024
0.0.484 (current version) 2 12/13/2024
0.0.483 2 12/13/2024
0.0.482 2 12/13/2024
0.0.481 2 12/13/2024
0.0.478 2 12/13/2024
0.0.477 3 12/12/2024
0.0.476 4 12/11/2024
0.0.475 4 12/11/2024
0.0.474 3 12/10/2024
0.0.473 5 12/10/2024
0.0.472 5 12/10/2024
0.0.471 4 12/10/2024
0.0.470 3 12/10/2024
0.0.469 3 12/10/2024
0.0.468 3 12/10/2024
0.0.465 4 12/10/2024
0.0.464 4 12/9/2024
0.0.463 3 12/9/2024
0.0.462 3 12/9/2024
0.0.461 3 12/9/2024
0.0.460 3 12/9/2024
0.0.459 3 12/9/2024
0.0.458 4 12/9/2024
0.0.457 3 12/9/2024
0.0.454 3 12/9/2024
0.0.453 3 12/9/2024
0.0.452 3 12/9/2024
0.0.434 4 12/9/2024
0.0.433 3 12/9/2024
0.0.429 4 12/9/2024
0.0.428 4 12/9/2024
0.0.427 5 12/6/2024
0.0.426 4 12/1/2024
0.0.425 4 12/1/2024
0.0.423 4 12/1/2024
0.0.422 3 12/1/2024
0.0.421 3 12/1/2024
0.0.420 3 12/1/2024
0.0.419 3 12/1/2024
0.0.418 3 12/1/2024
0.0.417 4 12/1/2024
0.0.416 6 11/25/2024
0.0.415 5 11/25/2024
0.0.414 5 11/23/2024
0.0.413 4 11/23/2024
0.0.412 5 11/23/2024
0.0.411 5 11/23/2024
0.0.410 5 11/23/2024
0.0.409 5 11/20/2024
0.0.408 7 11/18/2024
0.0.407 6 11/16/2024
0.0.406 5 11/11/2024
0.0.405 4 11/11/2024
0.0.404 8 11/4/2024
0.0.403 5 11/4/2024
0.0.402 7 10/18/2024
0.0.401 5 10/14/2024
0.0.400 5 10/12/2024
0.0.399 5 10/12/2024
0.0.398 4 10/12/2024
0.0.397 4 10/12/2024
0.0.396 4 10/12/2024
0.0.395 4 10/12/2024
0.0.394 4 10/12/2024
0.0.393 4 10/12/2024
0.0.392 4 10/12/2024
0.0.391 5 10/7/2024
0.0.390 4 10/6/2024
0.0.389 4 10/6/2024
0.0.388 4 10/6/2024
0.0.387 5 10/6/2024
0.0.386 4 10/6/2024
0.0.385 4 10/6/2024
0.0.384 4 10/6/2024
0.0.383 4 10/6/2024
0.0.382 4 10/6/2024
0.0.381 4 10/6/2024
0.0.380 4 10/6/2024
0.0.379 4 10/6/2024
0.0.378 4 10/6/2024
0.0.377 4 10/6/2024
0.0.376 4 10/6/2024
0.0.375 5 10/4/2024
0.0.374 5 10/4/2024
0.0.373 4 10/4/2024
0.0.372 5 10/3/2024
0.0.371 4 10/3/2024
0.0.370 4 10/3/2024
0.0.369 8 9/27/2024
0.0.367 18 9/15/2024
0.0.366 6 9/15/2024
0.0.365 6 9/15/2024
0.0.364 17 9/4/2024
0.0.363 10 9/4/2024
0.0.362 9 9/4/2024
0.0.361 9 9/4/2024
0.0.360 9 9/4/2024
0.0.359 9 9/4/2024
0.0.358 9 9/4/2024
0.0.357 15 6/17/2024
0.0.356 6 6/17/2024
0.0.351 6 6/17/2024
0.0.330 6 6/16/2024
0.0.301 6 6/16/2024
0.0.300 6 6/16/2024
0.0.299 6 6/16/2024
0.0.295 6 6/16/2024
0.0.294 6 6/16/2024
0.0.293 6 6/16/2024
0.0.292 6 6/16/2024
0.0.291 6 6/16/2024
0.0.290 6 6/16/2024
0.0.289 6 6/16/2024
0.0.288 6 6/16/2024
0.0.287 6 6/16/2024
0.0.286 6 6/16/2024
0.0.285 6 6/16/2024
0.0.284 6 6/16/2024
0.0.283 6 6/16/2024
0.0.282 6 6/16/2024
0.0.281 6 6/16/2024
0.0.280 6 6/16/2024
0.0.279 6 6/16/2024
0.0.278 6 6/16/2024
0.0.277 6 6/16/2024
0.0.276 6 6/16/2024
0.0.265 6 5/28/2024
0.0.264 8 5/22/2024
0.0.263 6 5/22/2024
0.0.262 19 4/8/2024
0.0.261 6 4/7/2024
0.0.260 6 4/7/2024
0.0.249 6 4/7/2024
0.0.248 6 4/7/2024
0.0.247 6 4/7/2024
0.0.238 12 2/19/2024
0.0.234 10 2/10/2024
0.0.233 12 2/5/2024
0.0.232 9 2/5/2024
0.0.231 9 2/5/2024
0.0.230 9 2/5/2024
0.0.229 9 2/5/2024
0.0.228 9 2/5/2024
0.0.227 9 2/5/2024
0.0.226 9 2/5/2024
0.0.225 10 2/5/2024
0.0.224 9 2/4/2024
0.0.223 9 2/4/2024
0.0.222 9 2/4/2024
0.0.221 10 2/4/2024
0.0.220 9 2/3/2024
0.0.219 9 2/3/2024
0.0.218 10 1/31/2024
0.0.217 9 1/31/2024
0.0.216 8 1/31/2024
0.0.215 8 1/31/2024
0.0.214 12 1/29/2024
0.0.213 9 1/29/2024
0.0.212 8 1/29/2024
0.0.211 9 1/29/2024
0.0.210 9 1/29/2024
0.0.209 9 1/29/2024
0.0.208 10 1/28/2024
0.0.207 9 1/28/2024
0.0.204 9 1/27/2024
0.0.203 8 1/27/2024
0.0.202 8 1/27/2024
0.0.201 8 1/27/2024
0.0.198 8 1/27/2024
0.0.197 8 1/27/2024
0.0.196 9 1/27/2024
0.0.195 10 1/21/2024
0.0.194 8 1/21/2024
0.0.193 8 1/21/2024
0.0.192 8 1/21/2024
0.0.191 8 1/21/2024
0.0.190 8 1/21/2024
0.0.189 9 1/20/2024
0.0.188 9 1/20/2024
0.0.187 9 1/20/2024
0.0.186 10 1/16/2024
0.0.185 8 1/16/2024
0.0.184 9 1/16/2024
0.0.183 9 1/16/2024
0.0.182 9 1/16/2024
0.0.181 9 1/16/2024
0.0.180 9 1/16/2024
0.0.179 9 1/15/2024
0.0.178 9 1/15/2024
0.0.177 9 1/15/2024
0.0.176 8 1/15/2024
0.0.175 10 1/14/2024
0.0.174 9 1/14/2024
0.0.173 9 1/14/2024
0.0.172 9 1/14/2024
0.0.171 9 1/14/2024
0.0.168 9 1/14/2024
0.0.167 9 1/14/2024
0.0.166 9 1/13/2024
0.0.165 9 1/13/2024
0.0.163 83 10/16/2022
0.0.162 26 9/6/2022
0.0.161 17 9/6/2022
0.0.160 17 9/6/2022
0.0.159 18 9/4/2022
0.0.158 17 9/4/2022
0.0.157 17 9/4/2022
0.0.156 17 9/3/2022
0.0.155 17 9/3/2022
0.0.154 17 9/1/2022
0.0.153 18 8/28/2022
0.0.152 17 8/28/2022
0.0.151 17 8/28/2022
0.0.150 17 8/28/2022
0.0.149 16 8/28/2022
0.0.148 16 8/28/2022
0.0.147 17 8/28/2022
0.0.146 17 8/27/2022
0.0.145 17 8/27/2022
0.0.144 16 8/26/2022
0.0.143 17 8/25/2022
0.0.142 17 8/25/2022
0.0.141 19 8/25/2022
0.0.140 18 8/22/2022
0.0.139 18 8/22/2022
0.0.138 17 8/22/2022
0.0.137 17 8/21/2022
0.0.136 16 8/21/2022
0.0.135 18 8/20/2022
0.0.134 16 8/20/2022
0.0.133 18 8/20/2022
0.0.132 17 8/20/2022
0.0.131 17 8/20/2022
0.0.130 16 8/20/2022
0.0.129 16 8/20/2022
0.0.128 17 8/20/2022
0.0.127 16 8/20/2022
0.0.126 17 8/20/2022
0.0.125 17 8/20/2022
0.0.124 17 8/19/2022
0.0.123 16 8/19/2022
0.0.122 17 8/19/2022
0.0.121 18 8/18/2022
0.0.120 24 8/15/2022
0.0.119 17 8/14/2022
0.0.118 17 8/14/2022
0.0.117 21 8/7/2022
0.0.116 18 8/6/2022
0.0.115 19 8/6/2022
0.0.114 18 8/6/2022
0.0.113 17 8/6/2022
0.0.112 19 8/1/2022
0.0.111 17 8/1/2022
0.0.110 19 8/1/2022
0.0.109 18 8/1/2022
0.0.108 17 8/1/2022
0.0.107 18 8/1/2022
0.0.106 18 8/1/2022
0.0.105 19 8/1/2022
0.0.104 17 8/1/2022
0.0.103 18 8/1/2022
0.0.97 19 8/1/2022
0.0.96 18 8/1/2022
0.0.95 18 8/1/2022
0.0.94 18 7/31/2022
0.0.93 20 7/31/2022
0.0.92 19 7/31/2022
0.0.91 18 7/31/2022
0.0.90 20 7/27/2022
0.0.89 19 7/27/2022
0.0.88 19 7/27/2022
0.0.87 20 7/27/2022
Show less