共用方式為


Set-RdsTenantGroup

設定租使用者群組的屬性。

語法

Set-RdsTenantGroup
   [-Name] <String>
   [-FriendlyName <String>]
   [-Description <String>]
   [<CommonParameters>]

Description

Set-RdsTenantGroup Cmdlet 會設定指定租使用者群組的屬性。

範例

範例 1:設定租使用者群組的屬性

PS C:\> Set-RdsTenantGroup -Name "contosoTenantGroup" -FriendlyName "Contoso TG" -Description "A custom tenant group for Contoso"

TenantGroupName     FriendlyName  Description
---------------     ------------  -----------
contosoTenantGroup  Contoso TG    A custom tenant group for Contoso

參數

-Description

描述 TenantGroup 以協助系統管理員的 512 個字元字串。 允許任何字元。

類型:String
Position:Named
預設值:None
必要:False
接受管線輸入:True
接受萬用字元:False

-FriendlyName

256 個字元字串,用於向用戶顯示。 允許任何字元。

類型:String
Position:Named
預設值:None
必要:False
接受管線輸入:True
接受萬用字元:False

-Name

租使用者群組的名稱。

類型:String
別名:TenantGroupName
Position:0
預設值:None
必要:True
接受管線輸入:True
接受萬用字元:False

輸入

System.String

輸出

Microsoft.RDInfra.RDManagementData.RdMgmtTenantGroup