Updating XenDesktop Hypervisor Host Guest Network

Powershell Commands

PS C:\> asnp Citrix*
PS C:\> dir XDHyp:\HostingUnits
PSPath : Citrix.Host.Admin.V1\Citrix.Hypervisor::XDHyp:\Hosting
PSParentPath : Citrix.Host.Admin.V1\Citrix.Hypervisor::XDHyp:\Hosting
PSDrive : XDHyp
PSProvider : Citrix.Host.Admin.V1\Citrix.Hypervisor
PSIsContainer : True
HostingUnitUid : 9b0ee1f0-2b45-45d5-9664-8cad350130f8
HostingUnitName : XENSERVERXD01
HypervisorConnection : XSG7Pool
RootPath : XDHyp:\Connections\XSG7Pool\
RootId :
NetworkPath : XDHyp:\Connections\XSG7Pool\VLAN 203.network
NetworkId : d8f21da0-6697-4fce-925b-99c19d4bae70
Storage : {XDHyp:\Connections\XSG7Pool\iSCSI 500GB.storage}
VMTaggingEnabled : True
UseLocalStorageCaching : False
Metadata : {}

Pay attention to the text in red and run the following with the vlan you want the VM to use.

Set-Item -Path ‘xdhyp:\hostingunits\XENSERVERXD01’ -NetworkPath ‘xdhyp:\connections\XSG7Pool\VLAN 47.network’

Leave a comment

Your email address will not be published. Required fields are marked *

WordPress Appliance - Powered by TurnKey Linux