Both flash parameters for `New-HVPool` were limited to the validate set of `LINKED_CLONE`. This updates them to be valid for all desktop types, since it is applicable to all desktop types. See https://vdc-download.vmware.com/vmwb-repository/dcr-public/3721109b-48a5-4ffb-a0ad-6d6a44f2f288/ff45dfca-1050-4265-93ef-4e7d702322e4/vdi.resources.Desktop.AdobeFlashSettings.html for details.
Prerequisites/Steps to use this module:
- This module only works for Horizon product E.g. Horizon 7.0.2 and later.
- Install the latest version of Powershell, PowerCLI(6.5) or (later version via psgallery).
- Import HorizonView module by running: Import-Module VMware.VimAutomation.HorizonView.
- Import "VMware.Hv.Helper" module by running: Import-Module -Name "location of this module" or Get-Module -ListAvailable 'VMware.Hv.Helper' | Import-Module.
- 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'