最近在写PowerShell脚本,把一些日常task给automation,写到创建Citrix Desktop Group的部分,create desktop group没什么问题,就用New-BrokerDesktopGroup就可以,但是在查询create出来的结果时,对参数MinimumFunctionalLevel不是很理解。
如下new一个desktop group,后面跟相应的参数:
PS C:\Users\admin> New-BrokerDesktopGroup -Name "PowerShellAutoTest" -DesktopKind Shared -DeliveryType DesktopsAndApps -Description $DGDescription -PublishedName $DGPubName
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