This post was very helpful for migration of user profiles in my environment.

I wanted to drop a question into this old post, and see.

Would it be possible to convert this thing into a fnRegKeyChange($sourcekey,$destkey,$action)

then we could call it just by passing variables?

I am so not a coder, but am going to attempt to this coding. any thoughts would be wonderful.