Hello!
I'm an expert in MS infrastructure and Powershell with 10+ years of hands-on experience.
I'd like to create and successfully deploy the script you needed, but please send some information for me:
- do these two AD domains have some trusts?
- if yes - are you planning some users SID and account migration to the new AD domain?
- if no - are new AD security groups in the new domain already created, with names like in the old domain, or the script also should create them?
- how large is this network share? the number of folders, size, etc.
- what are the plans for this file server as an old AD domain object? will it stay in the old domain or will migrate to the new?
Best regards, Evgeniy Vovney.