Just chopped this up really quick if you wanted to use it:
To obtain the VM's and their folder location:
$vmList = Get-VMHost [your host here] |Get-VM | Select Name, Folder
To move the VM back to their folder location after you re-add the host to vCenter:
ForEach ($vm in $vmList) { Move-VM $vm.Name -InventoryLocation $vm.Folder }