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.

We are migrating one of our legacy servers at work to a new data center (different domain, etc...). This server has a folder with MANY nested folders inside of it. Each of the nested folders may have different explicit permissions granted to different users. There are hundreds of folders.

Is there a way I can get all the permissions in a report using PowerShell or something similar for all the folders & nested folders? Im looking for an easy-as-possible way to replicate the folder permissions or get some output where I can manually recreate it?

Any ideas?

share|improve this question
1  
Any reason you want to manually recreate folder permissions and not use ADMT? microsoft.com/en-us/download/details.aspx?id=8377 –  cole Dec 31 '12 at 16:37
    
I had not heard of ADMT before. Can it be selective with what it replicates (i.e. just this one folder and all it's children)? –  ProfessionalAmateur Dec 31 '12 at 16:42
    
IIRC, you can just copy what folders you want over. ADMT will take care of the security translation. This way you're not manually recreating users, groups and permissions. –  cole Dec 31 '12 at 16:51
    
Very cool. Ill have to read into it because we are coming from a different domain the user IDs may not match precisely but it's good to know this tool exists. –  ProfessionalAmateur Dec 31 '12 at 16:54

1 Answer 1

up vote 1 down vote accepted

There is a blog post on how to audit NTFS Permissions with PowerShell. It will export all the info out into a CSV.

share|improve this answer
    
Thanks, I ended up using this one, very similar but I only needed it for 1 folder on 1 server. –  ProfessionalAmateur Dec 31 '12 at 18:13

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.