Tuesday, October 20, 2020

How to Add new Network on existing Resource

Hi guys, 

Here the command lines to execute to adding a new Network on an existing resource inside Hosting in our Virtual Apps and Desktops 

asnp Citrix*

cd xdhyp:

cd .\HostingUnits\

Add-HypHostingUnitNetwork -LiteralPath XDHyp:\HostingUnits\EXISTINGRESOURCENAME -NetworkPath 'XDHyp:\HostingUnits\Cloud_AFF\NEWNETWORKNAME.network'

 REDLETTERS, you need to change it for your information

If you want to check it, there are different ways to do it, for example, you can add a new resource via GUI selecting all networks and when you finished you can run this commands:

asnp Citrix*

cd xdhyp:

cd .\HostingUnits\

$formatEnumerationLimit = -1  

dir

Compare all PermittedNetworks from new resource and existing one that you need to add a new network.

*$formatEnumerationLimit = -1  --> With this command, you could see all networks.If you don't execute, you will see at the end of PermittedNetworks three dots (...)

No comments:

Post a Comment