- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think one way to do this is to:
- Clone existing VM to new VM
- Remove / Delete original VM from Horizon
- Remove Horizon Agent from new cloned VM.
Since you are already using automation, you could probably incorporate some of the code from my remove-HVMachine function to accomplish step 2.
So ironically you will end up deleting VM. At least the original ![]()
https://get-cj.com/2018/04/07/delete-vmware-horizon-machine-using-powercli-horizon-api/
It's very straight forward to use:
remove-HVMachine -cred $cred -viewserver $viewserver -machine $machine
Blog: https://powershell.house/