Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Does anybody know how to get the list of locally shared folders with ACLs and export the list to a file?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

You can use Powershell to do this. gwmi -class win32_share will get a list of shares. This guy's script will help you retrieve the permissions.

share|improve this answer
    
Thank you for this. I'll give it a shot. What I've tried is Sharenum from Sysinternals, it seems to be working, but there are some issues in windows server 2003 domain. –  Volodymyr Sep 6 '11 at 14:43

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.