Get-RdsTenantGroup
獲取為用戶授權的租戶組。
語法
Default (預設值)
Get-RdsTenantGroup
[-Name <String>]
[<CommonParameters>]
Description
Get-RdsTenantGroup cmdlet 獲取為用戶授權的租戶組。 如果未指定租戶組,則此 cmdlet 將返回為當前用戶授權的所有租戶組。
範例
示例 1:獲取特定租戶組
PS C:\> Get-RdsTenantGroup -Name "Contoso Tenant Group"
TenantGroupName Description FriendlyName
--------------- ----------- ------------
Contoso Tenant Group
此命令獲取當前上下文中的指定租戶組。 僅當租戶存在於當前上下文中並且當前用戶已獲得適當授權時,才會顯示租戶組。
參數
-Name
租戶組的名稱。
參數屬性
| 類型: | String |
| 預設值: | None |
| 支援萬用字元: | False |
| 不要顯示: | False |
| 別名: | 租戶組名稱 |
參數集
(All)
| Position: | Named |
| 必要: | False |
| 來自管線的值: | True |
| 來自管線按屬性名稱的值: | True |
| 來自剩餘引數的值: | False |
CommonParameters
此 Cmdlet 支援一般參數:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 如需詳細資訊,請參閱 about_CommonParameters。