Export-PermissionPortable

0.0.373

Present complex nested permissions and group memberships in a report that is easy to read
Provide additional information about each account such as Name, Department, Title
Multithreaded with 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:
- L
Present complex nested permissions and group memberships in a report that is easy to read
Provide additional information about each account such as Name, Department, Title
Multithreaded with 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:
- Local folder paths
- UNC folder paths
- DFS folder paths
- Mapped network drives
- Active Directory domain trusts
- Unresolved SIDs for deleted accounts
- Group memberships via the Primary Group as well as the memberOf property

Does not support these scenarios:
- ACL Owners or Groups (ToDo enhancement; for now only the DACL is 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 all permissions for the resolved paths
- Gets non-inherited permissions for subfolders (if specified)
- Exports the permissions to a .csv file
- Uses ADSI to get information about the accounts and groups listed in the permissions
- Exports information about the accounts and groups to a .csv file
- Uses ADSI to recursively retrieve group members
- Retrieves group members using both the memberOf and primaryGroupId attributes
- Members of nested groups are retrieved as members of the group listed in the permissions.
    - Their hierarchy of nested group memberships is not retrieved (for performance reasons).
- Exports information about all accounts with access to a .csv file
- Exports information about all accounts with access to a report generated as a .html file
- Outputs an XML-formatted list of common misconfigurations for use in Paessler PRTG Network Monitor as a custom XML sensor


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.373

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-ServiceSID ConvertTo-SidString Find-CachedWellKnownSID Get-SidTypeMap Invoke-ScShowSid Resolve-IdRefAppPkgAuth Resolve-IdRefBuiltIn Resolve-IdRefCached Resolve-IdRefGetDirEntry Resolve-IdRefSearchDir Resolve-IdRefSID Resolve-IdRefSvc Split-DirectoryPath Add-DomainFqdnToLdapPath Add-SidInfo ConvertFrom-DirectoryEntry ConvertFrom-IdentityReferenceResolved ConvertFrom-PropertyValueCollectionToString 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-AdsiProvider Find-LocalAdsiServerSid Get-AdsiGroup Get-AdsiGroupMember Get-AdsiServer Get-CurrentDomain Get-DirectoryEntry Get-KnownCaptionHashTable Get-KnownSid 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-AccountPermissionReference Expand-FlatPermissionReference Expand-ItemPermissionAccountAccessReference Expand-ItemPermissionReference Expand-TargetPermissionReference Get-ColumnJson Get-DetailDivHeader Get-FolderPermissionTableHeader Get-HtmlBody Get-HtmlReportElements Get-HtmlReportFooter Get-ReportDescription Get-SummaryDivHeader Get-SummaryTableHeader Group-AccountPermissionReference Group-ItemPermissionReference Group-TargetPermissionReference Memory Merge-AceAndPrincipal Out-PermissionDetailReport Resolve-Ace Resolve-Acl Resolve-FormatParameter Resolve-GroupByParameter Resolve-IdentityReferenceDomainDNS Resolve-SplitByParameter Select-AccountTableProperty Select-ItemTableProperty Select-PermissionTableProperty Add-CachedCimInstance Add-CacheItem ConvertTo-ItemBlock Expand-Permission Expand-PermissionTarget Find-CachedCimInstance Find-ResolvedIDsWithAccess Find-ServerFqdn Format-Permission Format-TimeSpan Get-AccessControlList Get-CachedCimInstance Get-CachedCimSession Get-PermissionPrincipal Get-TimeZoneName Initialize-Cache Invoke-PermissionAnalyzer Invoke-PermissionCommand Out-Permission Out-PermissionFile Remove-CachedCimSession Resolve-AccessControlList Resolve-Folder 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 ConvertTo-DnsFqdn ConvertTo-PSCodeString Export-LogCsv Get-CurrentHostName Get-CurrentWhoAmI 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

improved error handling

FileList

Version History

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