you can also export your folder structure with these scripts mentioned here:
and then using Move-Template cmdlet move them to desired folder>
Move-Template -Template <Temnplate name> -Destination <Folder name>
with Set-Template cmdlet convert your templates to VMs and with Move-VM -VM <VM name> -Destination <Folder> cmdlet move VMs to desired folders..._________________________________________________________________________________________1 person found this helpful
If you found this or any other answer helpful, please consider to award points. (use Correct or Helpful buttons)
vNEX, Thanks for the response. Along with your response and a change in how we are migrating templates, I have found/created a script that will do the job.
Along with vNex's links, I found the following link helpful. Creating a move-template function mentioned in the link helped complete a script that will do what I need it to. Given that there is already a move-template in the current version of power-cli, I renamed the function so that I would not have any conflicts. I also added a command to change the network adapter.