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
Units\XENSERVERXD01
PSParentPath : Citrix.Host.Admin.V1\Citrix.Hypervisor::XDHyp:\Hosting
Units
PSChildName : XENSERVERXD01
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 Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s