Files
PowerCLI-Example-Scripts/Modules/VMware.Hv.Helper
PARAMESHO 06d018c7a6 Set-HVApplicationIcon not behaving correctly with .ico and .bmp files
When bmp/ico image files are used as customized application icons, short
cuts feature on Horizon Client is facing the issues in rendering. Bug
2168320 has been reported for this issue. We have decided to block all
the non-png image files for the customization of application icons.

Testing:
Tested with the changes. Working as expected. Refer review
https://reviewboard.eng.vmware.com/r/1446121 for more details.
2019-01-02 21:55:26 +05:30
..
2017-04-21 21:17:27 +05:30

Prerequisites/Steps to use this module:

  1. This module only works for Horizon product E.g. Horizon 7.0.2 and later.
  2. Install the latest version of Powershell, PowerCLI(6.5) or (later version via psgallery).
  3. Import HorizonView module by running: Import-Module VMware.VimAutomation.HorizonView.
  4. Import "VMware.Hv.Helper" module by running: Import-Module -Name "location of this module" or Get-Module -ListAvailable 'VMware.Hv.Helper' | Import-Module.
  5. Get-Command -Module "This module Name" to list all available functions or Get-Command -Module 'VMware.Hv.Helper'.

Example script to connect view API service of Connection Server:

Import-Module VMware.VimAutomation.HorizonView

Connection to view API service

$hvServer = Connect-HVServer -server <connection server IP/FQDN> $hvServices = $hvserver.ExtensionData $csList = $hvServices.ConnectionServer.ConnectionServer_List()

Load this module

Get-Module -ListAvailable 'VMware.Hv.Helper' | Import-Module Get-Command -Module 'VMware.Hv.Helper'

Use advanced functions of this module

New-HVPool -spec 'path to InstantClone.json file'