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

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.163 (current version) 22 10/16/2022
0.0.162 20 9/6/2022
0.0.161 11 9/6/2022
0.0.160 11 9/6/2022
0.0.159 12 9/4/2022
0.0.158 11 9/4/2022
0.0.157 11 9/4/2022
0.0.156 11 9/3/2022
0.0.155 11 9/3/2022
0.0.154 11 9/1/2022
0.0.153 12 8/28/2022
0.0.152 11 8/28/2022
0.0.151 11 8/28/2022
0.0.150 11 8/28/2022
0.0.149 11 8/28/2022
0.0.148 11 8/28/2022
0.0.147 11 8/28/2022
0.0.146 11 8/27/2022
0.0.145 11 8/27/2022
0.0.144 11 8/26/2022
0.0.143 11 8/25/2022
0.0.142 11 8/25/2022
0.0.141 13 8/25/2022
0.0.140 12 8/22/2022
0.0.139 12 8/22/2022
0.0.138 11 8/22/2022
0.0.137 11 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 12 8/20/2022
0.0.132 11 8/20/2022
0.0.131 11 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 11 8/20/2022
0.0.125 11 8/20/2022
0.0.124 11 8/19/2022
0.0.123 11 8/19/2022
0.0.122 11 8/19/2022
0.0.121 12 8/18/2022
0.0.120 18 8/15/2022
0.0.119 12 8/14/2022
0.0.118 12 8/14/2022
0.0.117 15 8/7/2022
0.0.116 12 8/6/2022
0.0.115 13 8/6/2022
0.0.114 12 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 13 8/1/2022
0.0.109 12 8/1/2022
0.0.108 12 8/1/2022
0.0.107 12 8/1/2022
0.0.106 12 8/1/2022
0.0.105 13 8/1/2022
0.0.104 12 8/1/2022
0.0.103 13 8/1/2022
0.0.97 13 8/1/2022
0.0.96 12 8/1/2022
0.0.95 12 8/1/2022
0.0.94 12 7/31/2022
0.0.93 14 7/31/2022
0.0.92 13 7/31/2022
0.0.91 13 7/31/2022
0.0.90 14 7/27/2022
0.0.89 13 7/27/2022
0.0.88 13 7/27/2022
0.0.87 14 7/27/2022
Show more