VMware.Hv.Helper Long time until connected
Hey,
it's take up to 4 minutes until its connected is it normal? why isnt a way to connect with current credential like connect-viserver ?
thnx
there is a way to connect that way, and no that is not normal time. Your setup should look something like this:
#$Cred = Get-Credential -UserName vsphere.local\administrator -Message 'Enter vSphere Password' #$VIConnection = Connect-VIServer -Server vcenter.domain.com -Credential $Cred #$Cred = Get-Credential -UserName domain\administrator -Message 'Enter Horizon Password' #$HZConnection = Connect-HVServer -server horizon.domain.com -Credential $Cred $ViewAPI=$Global:DefaultHVServers[0].ExtensionData
Hey thnx I meant connect-hvserver without providing username and password i want the command use the current credentials that i am logged on with to the computer where the script is running
On Wed, Dec 12, 2018, 17:19 Jack McMichael <[email protected] wrote:
there is a way to connect that way, and no that is not normal time. Your setup should look something like this:
#$Cred = Get-Credential -UserName vsphere.local\administrator -Message 'Enter vSphere Password' #$VIConnection = Connect-VIServer -Server vcenter.domain.com -Credential $Cred #$Cred = Get-Credential -UserName domain\administrator -Message 'Enter Horizon Password' #$HZConnection = Connect-HVServer -server horizon.domain.com -Credential $Cred $ViewAPI=$Global:DefaultHVServers[0].ExtensionData
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vmware/PowerCLI-Example-Scripts/issues/238#issuecomment-446624735, or mute the thread https://github.com/notifications/unsubscribe-auth/Ag8gFFPgT_ScrnpQT79pexFtOld5L8sIks5u4R6XgaJpZM4YYc3b .