VMware Horizon Community
mrstorey303
Enthusiast
Enthusiast

Push / Publish Horizon Instant Clone Image via PowerCLI

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

Tags (1)
0 Kudos
4 Replies
Magneet
Hot Shot
Hot Shot

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.

mrstorey303
Enthusiast
Enthusiast

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.

0 Kudos
Magneet
Hot Shot
Hot Shot

when i find the time i will try to delve into it,maybe there's a way we don't know yet Smiley Happy

0 Kudos
mrstorey303
Enthusiast
Enthusiast

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.

0 Kudos