最近在寫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