Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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