How to add a machine to delivery group using PowerShell

How to add a machine to delivery group using PowerShell

book

Article ID: CTX234185

calendar_today

Updated On:

Description

How to add a machine to a delivery group using PowerShell


Instructions

  1. Open PowerShell on the delivery controller in administrator mode

  2. Run the command below to add all Citrix snap-ins:

    asnp citrix*
  3. Add the machine through PowerShell using the command below :

    Add-BrokerMachine "MyDomain\MyMachine" -DesktopGroup "MyDesktopGroup"
  4. The machine will be added to the delivery group mentioned above

Additional Information

https://docs.citrix.com/es-es/xenapp-and-xendesktop/7-6/cds-sdk-wrapper-rho/xad-commands/citrix-broker-admin-v2-wrapper-xd76/add-brokermachine-xd76.html
https://discussions.citrix.com/topic/365333-how-can-i-add-specific-servers-into-a-delivery-group/