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

Author(s)

Jeremy La Camera

Copyright

(c) Jeremy La Camera. All rights reserved.

Package Details

Owners

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.238 4 2/19/2024
0.0.234 5 2/10/2024
0.0.233 6 2/5/2024
0.0.232 4 2/5/2024
0.0.231 4 2/5/2024
0.0.230 4 2/5/2024
0.0.229 4 2/5/2024
0.0.228 4 2/5/2024
0.0.227 4 2/5/2024
0.0.226 4 2/5/2024
0.0.225 5 2/5/2024
0.0.224 4 2/4/2024
0.0.223 4 2/4/2024
0.0.222 4 2/4/2024
0.0.221 5 2/4/2024
0.0.220 4 2/3/2024
0.0.219 4 2/3/2024
0.0.218 5 1/31/2024
0.0.217 4 1/31/2024
0.0.216 3 1/31/2024
0.0.215 3 1/31/2024
0.0.214 7 1/29/2024
0.0.213 4 1/29/2024
0.0.212 3 1/29/2024
0.0.211 4 1/29/2024
0.0.210 4 1/29/2024
0.0.209 4 1/29/2024
0.0.208 4 1/28/2024
0.0.207 4 1/28/2024
0.0.204 4 1/27/2024
0.0.203 3 1/27/2024
0.0.202 3 1/27/2024
0.0.201 3 1/27/2024
0.0.198 3 1/27/2024
0.0.197 3 1/27/2024
0.0.196 4 1/27/2024
0.0.195 5 1/21/2024
0.0.194 3 1/21/2024
0.0.193 3 1/21/2024
0.0.192 3 1/21/2024
0.0.191 3 1/21/2024
0.0.190 3 1/21/2024
0.0.189 4 1/20/2024
0.0.188 4 1/20/2024
0.0.187 4 1/20/2024
0.0.186 5 1/16/2024
0.0.185 3 1/16/2024
0.0.184 4 1/16/2024
0.0.183 4 1/16/2024
0.0.182 4 1/16/2024
0.0.181 4 1/16/2024
0.0.180 4 1/16/2024
0.0.179 4 1/15/2024
0.0.178 4 1/15/2024
0.0.177 4 1/15/2024
0.0.176 3 1/15/2024
0.0.175 5 1/14/2024
0.0.174 4 1/14/2024
0.0.173 4 1/14/2024
0.0.172 4 1/14/2024
0.0.171 4 1/14/2024
0.0.168 4 1/14/2024
0.0.167 4 1/14/2024
0.0.166 4 1/13/2024
0.0.165 4 1/13/2024
0.0.163 (current version) 78 10/16/2022
0.0.162 21 9/6/2022
0.0.161 12 9/6/2022
0.0.160 12 9/6/2022
0.0.159 13 9/4/2022
0.0.158 12 9/4/2022
0.0.157 12 9/4/2022
0.0.156 12 9/3/2022
0.0.155 12 9/3/2022
0.0.154 12 9/1/2022
0.0.153 13 8/28/2022
0.0.152 12 8/28/2022
0.0.151 12 8/28/2022
0.0.150 12 8/28/2022
0.0.149 11 8/28/2022
0.0.148 11 8/28/2022
0.0.147 12 8/28/2022
0.0.146 12 8/27/2022
0.0.145 12 8/27/2022
0.0.144 11 8/26/2022
0.0.143 12 8/25/2022
0.0.142 12 8/25/2022
0.0.141 14 8/25/2022
0.0.140 13 8/22/2022
0.0.139 13 8/22/2022
0.0.138 12 8/22/2022
0.0.137 12 8/21/2022
0.0.136 11 8/21/2022
0.0.135 13 8/20/2022
0.0.134 11 8/20/2022
0.0.133 13 8/20/2022
0.0.132 12 8/20/2022
0.0.131 12 8/20/2022
0.0.130 11 8/20/2022
0.0.129 11 8/20/2022
0.0.128 12 8/20/2022
0.0.127 11 8/20/2022
0.0.126 12 8/20/2022
0.0.125 12 8/20/2022
0.0.124 12 8/19/2022
0.0.123 11 8/19/2022
0.0.122 12 8/19/2022
0.0.121 13 8/18/2022
0.0.120 19 8/15/2022
0.0.119 12 8/14/2022
0.0.118 12 8/14/2022
0.0.117 16 8/7/2022
0.0.116 13 8/6/2022
0.0.115 14 8/6/2022
0.0.114 13 8/6/2022
0.0.113 12 8/6/2022
0.0.112 14 8/1/2022
0.0.111 12 8/1/2022
0.0.110 14 8/1/2022
0.0.109 13 8/1/2022
0.0.108 12 8/1/2022
0.0.107 13 8/1/2022
0.0.106 13 8/1/2022
0.0.105 14 8/1/2022
0.0.104 12 8/1/2022
0.0.103 13 8/1/2022
0.0.97 14 8/1/2022
0.0.96 13 8/1/2022
0.0.95 13 8/1/2022
0.0.94 13 7/31/2022
0.0.93 15 7/31/2022
0.0.92 14 7/31/2022
0.0.91 13 7/31/2022
0.0.90 15 7/27/2022
0.0.89 14 7/27/2022
0.0.88 14 7/27/2022
0.0.87 15 7/27/2022
Show less