Export-PermissionPortable

0.0.163

Benefits:
- Presents complex nested permissions and group memberships in a report that is easy to read
- Provides 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 executio
Benefits:
- Presents complex nested permissions and group memberships in a report that is easy to read
- Provides 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 these scenarios:
- 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 the TargetPath parameter
 - Local folder paths become UNC paths using the administrative shares, so the computer name is shown in reports
 - DFS folder paths become all of their UNC folder targets, including disabled ones
 - Mapped network drives become their UNC paths
- Gets all permissions for the target folder
- 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
 - The entire chain of 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.163

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

Add-DomainFqdnToLdapPath Add-SidInfo ConvertFrom-DirectoryEntry 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-IdentityReference Expand-WinNTGroupMember Find-AdsiProvider Find-LocalAdsiServerSid Get-AdsiGroup Get-AdsiGroupMember Get-AdsiServer Get-CurrentDomain Get-DirectoryEntry Get-ParentDomainDnsName Get-TrustedDomain Get-Win32Account Get-Win32UserAccount Get-WinNTGroupMember Invoke-ComObject New-AdsiServerCimSession New-FakeDirectoryEntry Resolve-Ace Resolve-Ace3 Resolve-Ace4 Resolve-IdentityReference Search-Directory Format-PrtgXmlResult Format-PrtgXmlSensorOutput Send-PrtgXmlSensorOutput GetDirectories ConvertTo-SimpleProperty Expand-AccountPermission Expand-Acl Find-ServerNameInPath Format-FolderPermission Format-SecurityPrincipal Get-FolderAce Get-Subfolder Get-Win32MappedLogicalDisk New-NtfsAclIssueReport Resolve-Folder ConvertTo-DnsFqdn Get-CurrentHostName Get-CurrentWhoAmI New-DatedSubfolder Write-LogMsg Add-PsCommand Add-PsModule Convert-FromPsCommandInfoToString Expand-PsCommandInfo Expand-PsToken Get-PsCommandInfo Open-Thread Split-Thread Wait-Thread Get-DfsNetInfo Get-FileShareInfo Get-NetDfsEnum ConvertTo-BootstrapJavaScriptTable ConvertTo-BootstrapListGroup ConvertTo-BootstrapTableScript ConvertTo-HtmlList Get-BootstrapTemplate New-BootstrapAlert New-BootstrapColumn New-BootstrapDiv New-BootstrapDivWithHeading New-BootstrapGrid New-BootstrapList New-BootstrapPanel New-BootstrapReport New-BootstrapTable New-HtmlAnchor New-HtmlHeading New-HtmlParagraph Expand-Folder Export-FolderPermissionHtml Format-TimeSpan Get-FolderAccessList Get-FolderBlock Get-FolderColumnJson Get-FolderPermissionsBlock Get-FolderPermissionTableHeader Get-FolderTableHeader Get-HtmlBody Get-HtmlReportFooter Get-PrtgXmlSensorOutput Get-ReportDescription Get-TimeZoneName Select-FolderPermissionTableProperty Select-FolderTableProperty Select-UniqueAccountPermission Update-CaptionCapitalization

Dependencies

This script has no dependencies.

Release Notes

updated psbootstrapcss module

FileList

Version History

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