Export-PermissionPortable

0.0.133

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 (resolved to UNC paths using the administrative shares, so the computer name is shown in the reports)
- UNC folder paths
- DFS folder paths (resolves them to their UNC folder targets, and reports permissions on each folder target)
- Active Directory domain trusts, and unresolved SIDs for deleted accounts

Does not support these scenarios:
- Mapped network drives (ToDo enhancement; for now use UNC paths)
- 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:
- 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
   - The entire chain of group memberships is not retrieved (for performance reasons)
   - This means nested group members are retrieved, but nested groups themselves are not
- 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.133

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 ConvertTo-DecStringRepresentation ConvertTo-DistinguishedName ConvertTo-Fqdn ConvertTo-HexStringRepresentation ConvertTo-HexStringRepresentationForLDAPFilterString ConvertTo-LDAPDomainNetBIOS ConvertTo-SidByteArray Expand-AdsiGroupMember Expand-IdentityReference Expand-WinNTGroupMember Find-AdsiProvider Get-AdsiGroup Get-AdsiGroupMember Get-AdsiServer Get-CurrentDomain Get-DirectoryEntry Get-TrustedDomainSidNameMap Get-WellKnownSid Get-WinNTGroupMember Invoke-ComObject 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-FolderTarget Get-Subfolder New-NtfsAclIssueReport Remove-DuplicatesAcrossIgnoredDomains 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-HtmlList Get-BootstrapTemplate New-BootstrapAlert New-BootstrapColumn New-BootstrapDiv New-BootstrapGrid New-BootstrapList New-BootstrapPanel New-BootstrapReport New-BootstrapTable New-HtmlAnchor New-HtmlHeading New-HtmlParagraph Get-FolderAccessList Get-FolderPermissionsBlock Get-FolderTableHeader Get-HtmlBody Get-HtmlFolderList Get-PrtgXmlSensorOutput Get-ReportDescription Select-FolderTableProperty

Dependencies

This script has no dependencies.

Release Notes

Fixed tests

FileList

Version History

Version Downloads Last updated
0.0.409 4 11/20/2024
0.0.408 6 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 9 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 (current version) 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