Hey Guys,
I'm in need of a little guidance here.
@ work we are in the middle of a domain migration, and the ADMT tool failed us miserably. We have to add the new domain user permissions to user shares and right now, since I'm low man on the totem pole, its about to become my manual project process.
I've tried working with XCALCS to script these permission adds, but my scripting is worse than kiddie level.
Here is what I want the script to do:
If folder "X" is named "xyz" then add "xzy@newdomain.local" Read, write, Modify to folder "X", if "xyz@newdomain.local" does not exist, resume next.
Move on to next folder.
I need this to ADD the user permissions, and not take any away.
OR, even better would be:
IF SID on folder x = xyz@olddomain.local, then add xyz@newdomain.local to that folder with identical permissions. if xyz@newdomain.local does not exist, resume next.
(of course, moving through every user on the folder, as well as moving through all the folders)
That ay I could use it on any folder and migrate permissions. But All Ireally want is help with the first one. Could someone point me in the right direction? I've searched high and low, and I know this has got to be possible..
Thanks ahead of time, any help/Advice is appreciatted!
I'm in need of a little guidance here.
@ work we are in the middle of a domain migration, and the ADMT tool failed us miserably. We have to add the new domain user permissions to user shares and right now, since I'm low man on the totem pole, its about to become my manual project process.
I've tried working with XCALCS to script these permission adds, but my scripting is worse than kiddie level.
Here is what I want the script to do:
If folder "X" is named "xyz" then add "xzy@newdomain.local" Read, write, Modify to folder "X", if "xyz@newdomain.local" does not exist, resume next.
Move on to next folder.
I need this to ADD the user permissions, and not take any away.
OR, even better would be:
IF SID on folder x = xyz@olddomain.local, then add xyz@newdomain.local to that folder with identical permissions. if xyz@newdomain.local does not exist, resume next.
(of course, moving through every user on the folder, as well as moving through all the folders)
That ay I could use it on any folder and migrate permissions. But All Ireally want is help with the first one. Could someone point me in the right direction? I've searched high and low, and I know this has got to be possible..
Thanks ahead of time, any help/Advice is appreciatted!