Product Documentation


Nov 06, 2015

Requests the host service to update the connection properties that depend on the version of hypervisor in use.


Update-HypHypervisorConnection [-LiteralPath] <String> [-LoggingId <Guid>] [-AdminAddress <String>] [<CommonParameters>]

Detailed Description

Allows the version specific properties of a hypervisor conenction to be updated after an upgrade to the hypervisor system which may provide new capabilities.

Related topics



Specifies the path within a Host Service provider to the hypervisor connection item to be updated. The path specified must be in one of the following formats; <drive>:\Connections\<HypervisorConnectionName> or <drive>:\Connections\{HypervisorConnection Uid>}

Required? true
Default Value  
Accept Pipeline Input? true (ByValue)


Specifies the identifier of the high-level operation this cmdlet call forms a part of. Citrix Studio and Director typically create high-level operations. PowerShell scripts can also wrap a series of cmdlet calls in a high-level operation by way of the Start-LogHighLevelOperation and Stop-LogHighLevelOperation cmdlets.

Required? false
Default Value  
Accept Pipeline Input? false


Specifies the address of a XenDesktop controller that the PowerShell snap-in will connect to. This can be provided as a host name or an IP address.

Required? false
Default Value LocalHost. Once a value is provided by any cmdlet, this value will become the default.
Accept Pipeline Input? false


In the case of failure the following errors can be produced.

Error Codes



The path provided is not in the required format.


The hypervisor is in maintenance mode and cannot be updated.


An error occurred in the service whilst attempting a database operation.


The operation could not be completed as the database for the service is not configured.


An error occurred in the service whilst attempting a database operation - communication to database failed for

for various reasons.


An error occurred whilst communicating with the service.


The user does not have administrative rights to perform this operation.


An unexpected error occurred. To locate more details see the Windows event logs on the controller being used, or examine the XenDesktop logs.


-------------------------- EXAMPLE 1 --------------------------

c:\PS>Update-HypHypervisorConnection -LiteralPath xdhyp:\connections\Connection1

This command requests that the properties of Connection1 be updated to match the current capabilities of the hypervisor.