#Share Folder Path
$FolderPath = dir -Path “\\server1.vmwarenterprise.com\Reports\” -Recurse -Directory -Force
$Report = @()
Foreach ($Folder in $FolderPath) {
$Acl = Get-Acl -Path $Folder.FullName
foreach ($Access in $acl.Access)
{
$Properties = [ordered]@{‘FolderName’=$Folder.FullName;’AD
Group or User’=$Access.IdentityReference;’Permissions’=$Access.FileSystemRights;’Inherited’=$Access.IsInherited}
$Report += New-Object -TypeName PSObject -Property $Properties
}
}
$Report | Export-Csv -path “C:\temp\FPermissions.csv” -NoTypeInformation
Thanks a bunch for sharing this with all of us you actually know what you’re talking about! Bookmarked. Please also visit my site =). We could have a link exchange contract between us!
6asegf
rc58xa
so much good info on here, : D.
kni1jj
n4s55p
Greetings! I’ve been following your website for a while now and finally got the courage to go ahead and give you a shout out from New Caney Tx! Just wanted to tell you keep up the fantastic work!
469wu5