It states in the horizon 7 documentation that PowerCLI is 'not supported' with instant clone pools:
Documentation for VMware Horizon 7 version 7.0
I'd like to automate the publishing process using the latest horizon cmdlets, which, according to the marketing material says gives access to the full view API.....so you'd think it /should/ be possible?
If so, does anyone know the code / methods to call for instant clone push operations?
Thanks
the documentation is correct, the API's (link) don't show those methods for instant clones. This could very well be because instant clones is a vsphere technique and not a horizon technique.
Hmm..ok. Sucks a bit - because even though the vm fork operation is happening via the vsphere api, I doubt horizon would understand the cloning / pool updating processes required
So it seems impossible to wrap instant clone pushing into any kind of automation then? Click-click, next-next....bit of a shame if so. Hopefully in a future version.
when i find the time i will try to delve into it,maybe there's a way we don't know yet
For those interested - I was pointed in the direction of this:
http://www.evengooder.com/2017/10/using-powershell-to-create-and-manage.html
Looks like there's a whole bunch of advanced functions for horizon view available in this GitHub repo - PowerCLI-Example-Scripts/Modules/VMware.Hv.Helper at master · vmware/PowerCLI-Example-Scripts · GitH...
Seems exactly what I was looking for - gonna try them out.