I didn't try what you suggested because I didn't see anything about SecureString in the VMware and Omnissa KBs.
I'll try that as soon as I get back to work in 8 hours!
Original Message:
Sent: Jan 15, 2025 01:57 PM
From: LucD
Subject: "VMware.hv.helper" Module not available. Need some help desperately.
Consult the Connect-HVServer help, specifically the Default parameterset.
To convert from a String to a SecureString you can use the ConvertTo-SecureString cmdlet.
Something like this for example.
$pswd = 'VMware1!'$pswdSecure = ConvertTo-SecureString -String $pswd -AsPlainText -Force
------------------------------
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
------------------------------
Original Message:
Sent: Jan 15, 2025 01:27 PM
From: hoon0715
Subject: "VMware.hv.helper" Module not available. Need some help desperately.
I'm sorry, but I don't know exactly what is the SecureString....
I just use PASSWORD when I logon in the Horizon Admin Page.. (Capitalization is not included)
Original Message:
Sent: Jan 15, 2025 01:16 PM
From: LucD
Subject: "VMware.hv.helper" Module not available. Need some help desperately.
Did you make sure that the "PASSWORD" is of the type SecureString?
------------------------------
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Original Message:
Sent: Jan 15, 2025 01:02 PM
From: hoon0715
Subject: "VMware.hv.helper" Module not available. Need some help desperately.
Thank you for reply.
I just ran command as below,
Set-ExecutionPolicy RemoteSigned
Set-PowerCLIConfiguration -InvalidCertification Ignore -Confirm:$false
Set-PowerCLIConfiguration -Scope User -ParticipateCEIP $false
Import-Module VMware.PowerCLI
Import-Module VMware.VimAutomation.Horizonview (OR Omnissa.VimAutomation.Horizonview)
Import-Module VMware.Hv.Helper (OR Omnissa.Hv.Helper)
Connect-HVserver -Server CS_HOSTNAME -User ID@Domain -Password PASSWORD
Get-HVPool
----------------------------------------------------------
The error message in the post is Get-SOMETHING. However, the Get-HVPool command also ends up with the error message "Unable to convert" and says that no results can be retrieved via the parameters.
Original Message:
Sent: Jan 15, 2025 12:38 PM
From: LucD
Subject: "VMware.hv.helper" Module not available. Need some help desperately.
Can you show us the code you are using?
------------------------------
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference