Hi!
I have powercli 6.5.1 and I need to install the module "VMware.View.Broker" But I get the following error:
Inside the file "VMware.View.Broker.psm1"
I don't know if adding the variable to the method solves it, that is:
[VMware.Hv.DesktopId] new_manualpool ($name, $vcid, $vmids, $ag)
Any suggestions?
Afaik VMware.View.Broker is a PSSnapin, not a module.
Where did you get that module from?
Which Horizon version are you trying to use this against?
Why such an old PowerCLI version?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
The only thing I can't change for now is the Horizon version (7.6). What version of powercli do you recommend?
The module thing, I tried to follow these steps:
https://github.com/9whirls/VMware.View.Broker
I need to be able to connect to Horizon through powercli and disconnect sessions. What is the module that has all these functions?
That module is a 3th party module it seems.
If you are having a problem I suggest opening an Issue on that repo.
Have a look at the PowerCLI-Horizon compatibility matrix.
Most PowerCLI-Horizon scripts nowadays seem to be using the VMware.HV.Helper module.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
I followed the steps they mention VMware.HV.Helper
I ask you, now how could I disconnect a session?
How disconnect horizon session? - VMware Technology Network VMTN
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference