I have connections in Vcenter, registered in Named Connection.
Created a process that calls a batch file and this in turn interacts with the PowerCLI.
In PowerCLI I have the command line below:
Connect-VIServer $ vCenter -User $ vUsuario -Password $ vPass> $ null
Is there a way to break up the Connection Name and use the URL given in my variable $ vCenter, and -User $ vPass?