最近在写PowerShell脚本,把一些平常task给automation,写到建立Citrix Desktop Group的部分,create desktop group没什么问题,就用New-BrokerDesktopGroup就能够,可是在查询create出来的结果时,对参数MinimumFunctionalLevel不是很理解。
以下new一个desktop group,后面跟相应的参数:ide
PS C:\Users\admin> New-BrokerDesktopGroup -Name "PowerShellAutoTest" -DesktopKind Shared -DeliveryType DesktopsAndApps -Description $DGDescription -PublishedName $DGPubName
而后get一把:this
PS C:\Users\admin> Get-BrokerDesktopGroup -AdminAddress "DDC01.citrix.local" -Name *TEST* | select Name, PublishedName, SessionSupport, MinimumFunctionalLevel | Format-Table -AutoSize Name PublishedName SessionSupport MinimumFunctionalLevel ---- ------------- -------------- ---------------------- PowerShellAutoTest PowerShellAutoTest Desktop SingleSession L7_9
MinimumFunctionalLevel显示:L7_9。查了官网,说Valid values are L5, L7, L7_6。忽然想起来,手动create Machine Catalogs时,有一个默认不会更改的选项:Select the minimum functional level for this catalog...见下图:code
So,这个值不用管了,默认就好。orm