Export-PermissionPortable

0.0.351

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

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 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-ParentDomainDnsName Get-TrustedDomain Get-WinNTGroupMember Invoke-ComObject New-FakeDirectoryEntry Resolve-IdentityReference 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-CacheItem ConvertTo-ItemBlock Expand-Permission Expand-PermissionTarget 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 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

remove unnecessary host output in the buildportablerelease psake task

FileList

Version History

Version Downloads Last updated
0.0.364 9 9/4/2024
0.0.363 8 9/4/2024
0.0.362 7 9/4/2024
0.0.361 7 9/4/2024
0.0.360 7 9/4/2024
0.0.359 7 9/4/2024
0.0.358 7 9/4/2024
0.0.357 14 6/17/2024
0.0.356 5 6/17/2024
0.0.351 (current version) 5 6/17/2024
0.0.330 5 6/16/2024
0.0.301 5 6/16/2024
0.0.300 5 6/16/2024
0.0.299 5 6/16/2024
0.0.295 5 6/16/2024
0.0.294 5 6/16/2024
0.0.293 5 6/16/2024
0.0.292 5 6/16/2024
0.0.291 5 6/16/2024
0.0.290 5 6/16/2024
0.0.289 5 6/16/2024
0.0.288 5 6/16/2024
0.0.287 5 6/16/2024
0.0.286 5 6/16/2024
0.0.285 5 6/16/2024
0.0.284 5 6/16/2024
0.0.283 5 6/16/2024
0.0.282 5 6/16/2024
0.0.281 5 6/16/2024
0.0.280 5 6/16/2024
0.0.279 5 6/16/2024
0.0.278 5 6/16/2024
0.0.277 5 6/16/2024
0.0.276 5 6/16/2024
0.0.265 5 5/28/2024
0.0.264 7 5/22/2024
0.0.263 5 5/22/2024
0.0.262 18 4/8/2024
0.0.261 5 4/7/2024
0.0.260 5 4/7/2024
0.0.249 5 4/7/2024
0.0.248 5 4/7/2024
0.0.247 5 4/7/2024
0.0.238 11 2/19/2024
0.0.234 9 2/10/2024
0.0.233 11 2/5/2024
0.0.232 8 2/5/2024
0.0.231 8 2/5/2024
0.0.230 8 2/5/2024
0.0.229 8 2/5/2024
0.0.228 8 2/5/2024
0.0.227 8 2/5/2024
0.0.226 8 2/5/2024
0.0.225 9 2/5/2024
0.0.224 8 2/4/2024
0.0.223 8 2/4/2024
0.0.222 8 2/4/2024
0.0.221 9 2/4/2024
0.0.220 8 2/3/2024
0.0.219 8 2/3/2024
0.0.218 9 1/31/2024
0.0.217 8 1/31/2024
0.0.216 7 1/31/2024
0.0.215 7 1/31/2024
0.0.214 11 1/29/2024
0.0.213 8 1/29/2024
0.0.212 7 1/29/2024
0.0.211 8 1/29/2024
0.0.210 8 1/29/2024
0.0.209 8 1/29/2024
0.0.208 8 1/28/2024
0.0.207 8 1/28/2024
0.0.204 8 1/27/2024
0.0.203 7 1/27/2024
0.0.202 7 1/27/2024
0.0.201 7 1/27/2024
0.0.198 7 1/27/2024
0.0.197 7 1/27/2024
0.0.196 8 1/27/2024
0.0.195 9 1/21/2024
0.0.194 7 1/21/2024
0.0.193 7 1/21/2024
0.0.192 7 1/21/2024
0.0.191 7 1/21/2024
0.0.190 7 1/21/2024
0.0.189 8 1/20/2024
0.0.188 8 1/20/2024
0.0.187 8 1/20/2024
0.0.186 9 1/16/2024
0.0.185 7 1/16/2024
0.0.184 8 1/16/2024
0.0.183 8 1/16/2024
0.0.182 8 1/16/2024
0.0.181 8 1/16/2024
0.0.180 8 1/16/2024
0.0.179 8 1/15/2024
0.0.178 8 1/15/2024
0.0.177 8 1/15/2024
0.0.176 7 1/15/2024
0.0.175 9 1/14/2024
0.0.174 8 1/14/2024
0.0.173 8 1/14/2024
0.0.172 8 1/14/2024
0.0.171 8 1/14/2024
0.0.168 8 1/14/2024
0.0.167 8 1/14/2024
0.0.166 8 1/13/2024
0.0.165 8 1/13/2024
0.0.163 82 10/16/2022
0.0.162 25 9/6/2022
0.0.161 16 9/6/2022
0.0.160 16 9/6/2022
0.0.159 17 9/4/2022
0.0.158 16 9/4/2022
0.0.157 16 9/4/2022
0.0.156 16 9/3/2022
0.0.155 16 9/3/2022
0.0.154 16 9/1/2022
0.0.153 17 8/28/2022
0.0.152 16 8/28/2022
0.0.151 16 8/28/2022
0.0.150 16 8/28/2022
0.0.149 15 8/28/2022
0.0.148 15 8/28/2022
0.0.147 16 8/28/2022
0.0.146 16 8/27/2022
0.0.145 16 8/27/2022
0.0.144 15 8/26/2022
0.0.143 16 8/25/2022
0.0.142 16 8/25/2022
0.0.141 18 8/25/2022
0.0.140 17 8/22/2022
0.0.139 17 8/22/2022
0.0.138 16 8/22/2022
0.0.137 16 8/21/2022
0.0.136 15 8/21/2022
0.0.135 17 8/20/2022
0.0.134 15 8/20/2022
0.0.133 17 8/20/2022
0.0.132 16 8/20/2022
0.0.131 16 8/20/2022
0.0.130 15 8/20/2022
0.0.129 15 8/20/2022
0.0.128 16 8/20/2022
0.0.127 15 8/20/2022
0.0.126 16 8/20/2022
0.0.125 16 8/20/2022
0.0.124 16 8/19/2022
0.0.123 15 8/19/2022
0.0.122 16 8/19/2022
0.0.121 17 8/18/2022
0.0.120 23 8/15/2022
0.0.119 16 8/14/2022
0.0.118 16 8/14/2022
0.0.117 20 8/7/2022
0.0.116 17 8/6/2022
0.0.115 18 8/6/2022
0.0.114 17 8/6/2022
0.0.113 16 8/6/2022
0.0.112 18 8/1/2022
0.0.111 16 8/1/2022
0.0.110 18 8/1/2022
0.0.109 17 8/1/2022
0.0.108 16 8/1/2022
0.0.107 17 8/1/2022
0.0.106 17 8/1/2022
0.0.105 18 8/1/2022
0.0.104 16 8/1/2022
0.0.103 17 8/1/2022
0.0.97 18 8/1/2022
0.0.96 17 8/1/2022
0.0.95 17 8/1/2022
0.0.94 17 7/31/2022
0.0.93 19 7/31/2022
0.0.92 18 7/31/2022
0.0.91 17 7/31/2022
0.0.90 19 7/27/2022
0.0.89 18 7/27/2022
0.0.88 18 7/27/2022
0.0.87 19 7/27/2022
Show less