Function to 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

How to workaround this and connect to your remote Horizon View Connection server ?

I have written a simple Function that will help you to connect to your Remote Connection server and then perform all Operations/Command 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

click here for above code

Review / contribute to my Code Git Repository

#DevOps #horizonview #VDI

Featured Posts
Recent Posts