简体   繁体   English

在Citrix中,是否可以使用PowerShell创建虚拟机并将其添加到目录中?

[英]In citrix, is it possible to create virtual machines and add them to a catalog using powershell?

Now I´m doing it thought the citrix studio console. 现在我正在考虑使用Citrix工作室控制台。 There´sa powershell tab and it shows a resulting powershell script of this action but I can´t reuse this script because there are some 'ids' I can´t determine how to find. 有一个powershell选项卡,它显示了此操作的结果PowerShell脚本,但我无法重用此脚本,因为有一些“ID”我无法确定如何查找。

I´m using XenDesktop 7.5 我使用的是XenDesktop 7.5

I think the command you are looking for is new-brokermachine, ref: http://support.citrix.com/proddocs/topic/citrix-broker-admin-v2-xd75/new-brokermachine-xd75.html . 我认为您正在寻找的命令是new-brokermachine,参考: http//support.citrix.com/proddocs/topic/citrix-broker-admin-v2-xd75/new-brokermachine-xd75.html I suppose that if you inspected the PowerShell that is executing in the PowerShell window in Citrix Studio you would see where the ids are set further up in the PowerShell execution too. 我想如果您在Citrix Studio的PowerShell窗口中检查了正在执行的PowerShell,您会在PowerShell执行中看到进一步设置ID的位置。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM