We performing a migration from SBS2008 to Server2012 for a customer and they require a domain name change.
We would like to move the contents of the data folder and mirror the folder permissions to the same users and groups in the new domain.
We have examined "setacl" but this only seems to work where an inter-domain trust relationship can be established, this does not seem possible with SBS.
"icacls" only seems to export the actual SIDs and these do not translate to the same groups/users in the same domain.
SubInACL is only for 2003 apparently
Is this possible through a powershell script perhaps, can we export the existing permissions to csv and perhaps replace the old domainname with the new domainname and then import again?
Does anyone have a script they would like to share?