共用方式為


Get-RdsRemoteDesktop

取得已發佈桌面的屬性。

語法

Get-RdsRemoteDesktop
   [-TenantName] <String>
   [-HostPoolName] <String>
   [-AppGroupName] <String>
   [<CommonParameters>]

Description

Get-RdsRemoteDesktop Cmdlet 會取得指定之已發佈桌面的屬性。 如果您指定 RemoteApp 應用程式群組,此 Cmdlet 將會失敗。

範例

範例 1:取得已發佈桌面的屬性

PS C:\> Get-RdsRemoteDesktop -TenantName "contoso" -HostPoolName "contosoHostPool" -AppGroupName "Desktop Application Group"

TenantGroupName   : Default Tenant Group
TenantName        : contoso
HostPoolName      : contosoHostPool
AppGroupName      : Desktop Application Group
RemoteDesktopName : Remote Desktop
FriendlyName      : Engineering - Desktop
Description       : The default Session Desktop
ShowInWebFeed     :

此命令會取得指定之已發佈桌面的屬性。 只有在傳統型應用程式群組存在於主機集區中且目前使用者已正確授權時,才會顯示傳統型應用程式群組及其屬性。

參數

-AppGroupName

應用程式群組的名稱,必須是傳統型應用程式群組。

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

-HostPoolName

主機集區的名稱。

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

-TenantName

租用戶的名稱。

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

輸入

System.String

輸出

Microsoft.RDInfra.RDManagementData.RdMgmtPublishedDesktop