190 Commits

Author SHA1 Message Date
desrosim232
3c0a12f72a Update VMware.HV.Helper.psm1
Remove unnecessary Write-Host in Set-HVApplicationIvon
2023-11-24 07:15:55 -05:00
desrosim232
3634649afc Merge branch 'vmware:master' into patch-Set-HVApplicationIcon 2023-11-23 15:58:38 -05:00
desrosim232
0b3e4c9ea2 Set-HVApplicationIcon Patch
Patching a conditional issue with Set-HVApplicationIcon

Signed-off-by: Mathieu Desrosiers desrosim@gmail.com
2023-11-23 15:52:49 -05:00
kamennikolov
20871aeffa Merge pull request #620 from Geo-Ron/instant-clone-accept-vtpm-machines
VMWare.HV.Helper - New-HVPool: implemented addVirtualTPM for instant clones
2023-09-07 12:09:52 +03:00
GeoRon
f748f2591e enabled addVTPM for instant clones
Signed-off-by: GeoRon <ronnie.peeters@gmail.com>
2023-09-06 16:07:06 +02:00
GeoRon
cd502a516b removed duplicate line
Signed-off-by: GeoRon <ronnie.peeters@gmail.com>
2023-09-06 15:41:49 +02:00
GeoRon
d43b7ec88b enabled vGPU profile for instant clones
Signed-off-by: GeoRon <ronnie.peeters@gmail.com>
2023-09-06 15:39:36 +02:00
desrosim232
2be8d05707 Update VMware.HV.Helper.psm1
Encoding correction

Signed-off-by: Mathieu Desrosiers desrosim@gmail.com
2023-06-27 08:08:53 -04:00
desrosim232
356b3c4d68 Update VMware.HV.Helper.psm1
Adding new parameters for Start-HVFarm function to configure the ComputeProfile of the VMs underlying a farm:

NumCPU
Ram
CoresPerSocket

Signed-off-by: Mathieu Desrosiers desrosim@gmail.com
2023-06-27 08:07:14 -04:00
desrosim232
1480fdec06 Adding infos to Ram parameter in New-HVFarm
Adding units info in the Ram parameter in New-HVFarm

Signed-off-by: Mathieu Desrosiers desrosim@gmail.com
2023-04-24 11:30:30 -04:00
desrosim232
ddc96d276e Update VMware.HV.Helper.psm1
Adding new parameters for New-HVFarm function to configure the ComputeProfile of the VMs underlying a farm:
- NumCPU
- Ram
- CoresPerSocket 

Adding the use of the parameter ReusePreExistingAccounts for INSTANT_CLONE farm

Signed-off-by: Mathieu Desrosiers <desrosim@gmail.com>
2023-04-21 10:31:32 -04:00
Ron Peeters
e9f5fa2c52 restore vTPM if previously defined
Signed-off-by: Ron Peeters <ronnie.peeters@gmail.com>
2022-08-17 13:07:41 +02:00
Ron Peeters
366aef13c2 using get-hvpool to retrieve existing settings.
Signed-off-by: Ron Peeters <r.peeters@vdl.nl>
2022-08-15 17:34:35 +02:00
Гончаренко Роман Андреевич
9b62032a26 Added Restart-HVMachine function
Signed-off-by: Гончаренко Роман Андреевич <goncharenkora@nspk.ru>
2022-08-01 12:03:30 +03:00
Ivy Huang
6188524f90 support enableCollaboration parameter for new-hvpool
Function New-HVPool
1. support the setup with json object DesktopSettings.displayProtocolSettings.enableCollaboration
2. support the parameter enableCollaboration
2022-03-18 14:58:44 +08:00
Ivy Huang
d5f851339b take $jsonObject.ManualDesktopSpec.VirtualCenter
ManualDesktopSpec.VirtualCenter of json file was not taken care of. This could cause new-hvpool fail when creating with json file and there are multiple vcenters added to broker.
2022-03-17 16:11:21 +08:00
Charles-Antoine Degennes
5648fe1bec [VMware.HV.Helper.psm1] New-HVPool: check for provisioningTime value
Signed-off-by: Charles-Antoine Degennes <cadegenn@univ-lr.fr>
2022-01-24 08:50:39 +01:00
Charles-Antoine Degennes
e83cfa1b0b [VMware.HV.Helper.psm1] fix issue #524
Signed-off-by: Charles-Antoine Degennes <cadegenn@univ-lr.fr>
2022-01-24 08:50:39 +01:00
Mayank Goyal
99674644d8 Update VMware.HV.Helper.psm1
Signed-off-by: Mayank Goyal <imtrinity94@gmail.com>
2022-01-14 14:01:18 +05:30
Brian Wuchner
5b291a5ac0 Update VMware.HV.Helper.psm1
Fixes #364 - Get-HVEvent timeout issue
Changes to line 877-879 adds help for a new SqlTimeout parameter added to Get-HVEvent
Changes to line 931-934 add support for the new SqlTimeout parameter with a default value of 30 seconds.
Changes to line 1064 implements the timeout parameter created above when executing the query.

The change to line 1031 resolves an unrelated issue where I was seeing an extra '1' in the output from Get-HVEvent.  Adding the `Out-Null` statement is similar to another example in this same function which already existed on line 1065.  Adding the `Out-Null` statement did resolve the extra '1' displayed in the output.

Signed-off-by: Brian Wuchner <brian.wuchner@gmail.com>
2022-01-13 07:59:41 -05:00
Matt Frey
ccdddba4e7 Reversing 9d9ebc504b (#492)
The change made in 9d9ebc504b breaks ImagePush operations for Instant Clone pools. See the API documentation for reference.

The schema for `DesktopPushImageSpec` is as follows:

* DesktopPushImageSpec
  * Settings
    * StartTime

Signed-off-by: Matt Frey <mfrey@vmware.com>
2021-11-25 14:35:12 +02:00
Matt Frey
2ec8f92823 Address Issue 496 (#497)
Addressing Issue 496 to resolve the unintentional false condition when `-Value` is set to `$false` on `Set-HVGlobalSettings

Signed-off-by: Matt Frey <mfrey@vmware.com>
2021-11-25 14:34:40 +02:00
ricoroodenburg
9d82c04d72 Update VMware.HV.Helper.psm1 (#489)
Fix for error Get-HVBaseImageVM - Cannot find an overload for "BaseImageVM_List" and the argument count: "1"
2021-10-01 14:31:12 +03:00
Nam Tran
dbb570e009 Update VMware.HV.Helper.psm1 (#469) 2021-08-23 14:43:37 +03:00
Dan Acristinii
3c961963f1 Fixed no snapshot found error mistype (#481)
Signed-off-by: Dan Acristinii <dan.acristinii@roche.com>
2021-08-23 14:38:27 +03:00
Rob Nelson
3077daaeb5 DesktopRecomposeSpec does not have a Settings attribute (#464)
Similar adjustment as in #452 to another instance.
2021-06-21 11:02:04 +03:00
Rob Nelson
9d9ebc504b DesktopRecomposeSpec does not have a Settings attribute 2021-05-19 09:46:54 -04:00
Rob Nelson
88f15d9fe3 Some linting 2021-05-19 09:46:31 -04:00
dmilov
a8d656e879 Merge pull request #449 from rnelson0/patch-1
Better handling of module version checks
2021-05-18 07:41:12 +03:00
Rob Nelson
0a94dd4658 Better handling of module version checks
If the module is not loaded, and autoloading does not occur before the `Get-HVModuleVersion` call, the result might be an empty string. This gives a chance to force loading the module and error if it is not available.
2021-05-17 15:41:54 -04:00
dmilov
bffb3f7630 Merge pull request #438 from TheRealBenForce/FullClone-New-HvPool
enhancements for full clones
2021-03-19 12:27:09 +02:00
dmilov
e308436f06 Merge pull request #435 from mtelvers/ListByDatacenter
`VmTemplate_ListByDatacenter` requires two arguments as identified by
2021-03-19 12:26:30 +02:00
Ben Force
979463b66f enhancements for full clones 2021-03-09 11:46:22 -07:00
mtelvers
cbd9a9594c VmTemplate_ListByDatacenter requires two arguments as identified by
@TheRealBenForce in #431.  I have looked back to PowerCLI 6.5 and this
was the case back then as well and not a new 12.2 change.

    VmTemplate_ListByDatacenter            Method
    VMware.Hv.VmTemplateInfo[] VmTemplate_ListByDatacenter(
      VMware.Hv.Services service, VMware.Hv.DatacenterId datacenter
      )

Without wanting to steal anyones credit I've created a PR for this change.
2021-03-08 09:52:11 +00:00
mtelvers
0f6839ba68 Added functions Get-HvSyslog and Set-HvSyslog to manage the UDP
syslog server settings on Horizon.
2021-03-08 08:53:39 +00:00
dmilov
7dd8f4cabc Merge pull request #430 from mtelvers/HostOrCluster
Removed duplicate calculation of HostClusterID
2021-03-08 08:40:51 +02:00
dmilov
63655338ee Merge pull request #428 from mtelvers/master
Address changes to BaseImageVm_List()
2021-03-08 08:39:38 +02:00
mtelvers
0dd8b6f046 Removed duplicate calculation of HostClusterID 2021-03-05 19:14:34 +00:00
mtelvers
9f78104a1f Address changes to BaseImageVm_List()
Address issue #397
2021-03-02 14:54:26 +00:00
ricoroodenburg
30b8fa5c6d Update VMware.HV.Helper.psm1 2021-02-25 18:16:44 +01:00
ricoroodenburg
dc51c284da Get-NetworkLabels function
Can be used for the future, for assigning Network Labels to a a nic for new Horizon farm of desktop pool
2021-02-25 18:12:50 +01:00
ricoroodenburg
38b3524beb Added Load Balancing Settings
- Added 2 lines within "Get-FarmSpec" (3281 + 3282)
- Added new parameters within "New-HVFarm" (2282 till 2312)
- Added new coding within "New-HVFarm" (2856 till 2866)
2021-02-23 23:05:27 +01:00
Ben Blier
cb6076ac60 Fix issue #400 - New-HVFarm fails when maxSessionsType is LIMITED 2021-02-04 11:03:40 -07:00
antracey
c1e8ee9ab9 Update VMware.HV.Helper.psm1
Fix New-HvManualApplication to support MultiSessionMode and MaxMultiSessions VMware.Hv.ApplicationData properties and validation of MaxMultiSessions param.
2020-10-13 17:55:08 -04:00
CTip
3c45bbc117 Update VMware.HV.Helper.psm1 2020-09-21 15:38:51 -05:00
Kyle Ruddy
c5c836d3d6 Update VMware.HV.Helper.psm1
Updated per Issue #357
2020-03-06 11:48:31 -05:00
bfett20
233c220dd6 Update VMware.Hv.Helper
Added "clearGlobalEntitlement" switch to Set-HVApplication
2020-02-24 06:30:39 -06:00
Matt Frey
118739b8fb Minor cleanup and platyPS help 2020-02-06 13:49:04 -06:00
Rob Nelson
3f430900cf Make -StartTime argument to Start-HVPool take effect 2020-01-23 16:33:43 -05:00
Kyle Ruddy
22f0926161 Merge pull request #343 from mtelvers/master
Update VMware.HV.Helper.psm1
2020-01-14 17:53:21 -06:00