简体   繁体   English

特定服务器上的Citrix Get-Broker应用程序

[英]Citrix Get-Brokerapplication from specific server

On XenApp 6.x servers, there was a cmdlet like this: 在XenApp 6.x服务器上,有一个如下的cmdlet:

GET-XAApplication -ServerName servername

I used to open a PSSession on the adminserver, then got all servers with GET-XAServer and then I simply did the Application command in a foreach loop, where the ServerName parameter was the servername from XAServer. 我曾经在管理服务器上打开PSSession,然后使用GET-XAServer获取所有服务器,然后在foreach循环中执行Application命令,其中ServerName参数是XAServer的服务器名称。 Now I want to do the same on Version 7, but I can't figure out how it works. 现在我想在版本7上做同样的事情,但是我不知道它是如何工作的。

I installed all new cmdlets for the newer Version. 我为较新版本安装了所有新cmdlet。 I found out I can get the Applications with GET-Brokerapplication - but I can't pass a parameter to tell the command from which server I want to grab them, so I can only grab them from my admin server. 我发现可以使用GET-Brokerapplication获取应用程序-但是我无法传递参数来告诉命令我要从哪个服务器获取它们,因此只能从管理服务器获取它们。

Maybe someone can help me? 也许有人可以帮我吗? I've already looked at the documentation ( https://docs.citrix.com/de-de/xenapp-and-xendesktop/7-6/cds-sdk-wrapper-rho/xad-commands/citrix-broker-admin-v2-wrapper-xd76/get-brokerapplication-xd76.html ) but I can't find a parameter who allows me to do what I want. 我已经看过文档( https://docs.citrix.com/de-de/xenapp-and-xendesktop/7-6/cds-sdk-wrapper-rho/xad-commands/citrix-broker-admin -v2-wrapper-xd76 / get-brokerapplication-xd76.html ),但是我找不到一个可以让我做自己想做的参数。 MaybeI'm looking at the wrong cmdlet? 也许我看错了cmdlet?

I would be really happy if someone has a advise for me. 如果有人为我提供建议,我将非常高兴。

In XenApp 6.x there were Worker Groups and you should have been publishing applications for Worker Groups instead of individual servers. 在XenApp 6.x中,存在工作组,您应该已经为工作组而不是单个服务器发布了应用程序。 Then you can enumerate Worker Groups and Applications: 然后,您可以枚举工作者组和应用程序:

$wgs = Get-XAWorkerGroup 
foreach ($group  in $wgs) {
    $apps = Get-XAApplication -WorkerGroupName $group 
}

In XenApp 7.x WorkerGroups are replaced by Delivery Groups and you can enumerate them and associated applications: 在XenApp 7.x中,WorkerGroup被交付组代替,您可以枚举它们和相关的应用程序:

$groups = Get-BrokerDesktopGroup
foreach ($group in $groups) {
    $apps = Get-BrokerApplication -AssociatedDesktopGroupUid $group.UID
}

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

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