Getting Started with VMware.VimAutomation.HorizonView Module

Provides cmdlets for automating VMware Horizon features.

Step 1: Connect to Environment 


To setup a connection you should use the Connect-HVServer command. Run the code sample below to connect.
Connect-HVServer -Server server -User username -Password pass -Domain domain
You can also connect to remote environment by running one of the alternative options to connect below:

Option 1:
$cs = Connect-HVServer -Server server -Username user -Password pass -Domain domain; Connect-HVServer -Server server -SessionId $cs.SessionSecret
Option 2:
Connect-HVServer -Server server -User username@domain -Password pass
Option 3:
Connect-HVServer -Server server
Feedback

Was this page helpful?