Link to home
Start Free TrialLog in
Avatar of creative555
creative555

asked on

powershell scripts to verify/compare NTFS and shared permissions on the folders for source groups/users with target groups/users

If you have powershell scripts to do the following, would be great:

 verify/compare NTFS and shared permissions on the folders for source domain groups/users with target groups/users

In our scenario, the target forest users and groups have not been migrated, but recreated from scratch. Therefore they don't have sid history, linkage, etc. So, we are planning on migrating file server and need to verify that if group from source domain has access to SHARE then the target group/user should also have the same access to the share and same NTFS permissions. If the corresponding target group is not present, then I should see the validation fail message.

Here is example of group name in the source and corresponding group name in the target:
SOURCEDOMAIN\SecurityGroup1
TARGETDOMAIN\TRG_SecurityGroup1

The corresponding group in the target has the same name plus prefix "TRG" in front.

Thank you very much!
If such script is not possible, I was thinking then to get a script to export the permissions to excel.
ASKER CERTIFIED SOLUTION
Avatar of Lionel MM
Lionel MM
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of creative555
creative555

ASKER

Perfect! Thank you very much!