Link to home
Create AccountLog in
Avatar of bloodywicked
bloodywicked

asked on

Powershell script to grab AD users and share permission

Hello everyone,

I'm looking for a powershell script that goes through all folders of our file servers, and find out what user have what permission to which folder

I'm using powershell 2.0 CTP3
Win2k3 server for both AD and file server

in psude terms i thinking something like this

$folders = get-childitem -r \\server\rootshare
for each $folder in $folders {get-wmiobject win32_LogocalShareSecuritySettings}
output > results.txt

Your advise is greatly apperciated.

thank you
ASKER CERTIFIED SOLUTION
Avatar of Scottyworld
Scottyworld
Flag of New Zealand image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of Chris Dent
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.