Move-NTOrphanedHomeFolder

Hi All,

Below is a function I created to check and move home folders based on their status with in Active Directory.

I’ve added in some error handling of the move-item cmdlet so when the folder already exists in the target location it uses the copy-item and remove-item cmdlets dues to the way move-item handles existing folders.