top of page
  • Writer's pictureSantosh Kumar Behera

Connect To Horizon View Connection server Via PowerCLI

As off now there is no Simple Horizon view Power-Shell module available in Power Shell Gallery

Module resides into Connection server. You Need to be on connection server directly to run Power-shell / PowerCli commands

I have written a simple Function that will help you to connect to your Remote Connection server and then perform all Operations/Commands available.



Important Things to look out from above Code

1) Using Error Handling to terminate a non terminating Error

2) Use of invoke-command

3) using Parameters to keep it dynamic and open for admin to provide choice of Connection server and Credential to use



bottom of page