top of page

Function to Connect To Horizon View Connection server Via PowerCli

  • Jitendra Singh.
  • Sep 27, 2019
  • 1 min read

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

 
 
 

Recent Posts

See All

Comments


  • White YouTube Icon
  • White Facebook Icon
  • White Twitter Icon
  • White Instagram Icon

© 2024 All Rights Reserved

bottom of page