Upgrade to 8.3.1 and use SVM-DR.. And in 8.4 it's going to be all like 7-mode vfiler.
I wouldn't waste your time writing powershell scripts if it's essentially all done.
What i've done in the past is use identity preserve mode and then have custom workflow to add the right lif and remove the other one