Citrix Virtual Apps and Desktops SDK


Reset the hypervisor connection


Reset-BrokerHypervisorConnection [[-HypervisorConnectionUid] <Int32>] [-AdminAddress <String>] [-BearerToken <String>] [<CommonParameters>]

Reset-BrokerHypervisorConnection [-InputObject] <HypervisorConnection> [-AdminAddress <String>] [-BearerToken <String>] [<CommonParameters>]

Detailed Description

Requests the hypervisor connection to be reset. The connection is dropped, details including credentials refreshed and the connection reestablished. The reset request is asynchronous and may take a moment to occur


Name Description Required? Pipeline Input Default Value
InputObject Specifies the hypervisor connection object to remove. true true (ByValue)  
HypervisorConnectionUid Specifies the hypervisor connection Uid false false  
AdminAddress Specifies the address of a XenDesktop controller that the PowerShell snapin will connect to. This can be provided as a host name or an IP address. false false Localhost. Once a value is provided by any cmdlet, this value will become the default.
BearerToken Specifies the bearer token assigned to the calling user false false  

Input Type


You can pipe the hypervisor connection to be reset to Reset-BrokerHypervisorConnection.

Return Values



Example 1

C:\PS> Reset-BrokerHypervisorConnection -HypHypervisorConnectionUid 2


This command resets the specified Hypervisor connection