共用方式為


Remove-RdsRegistrationInfo

從主機集區移除註冊資訊。

語法

Remove-RdsRegistrationInfo
      [-TenantName] <String>
      [-HostPoolName] <String>
      [<CommonParameters>]

Description

Remove-RdsRegistrationInfo 會從指定的主機集區中移除註冊資訊。

如果主機集區沒有註冊資訊,Cmdlet 會以無訊息方式成功。

範例

範例 1:從主機集區移除註冊資訊

PS C:\> Remove-RdsRegistrationInfo -TenantName "contoso" -HostPoolName "contosoHostPool"

此命令會從指定的主機集區中移除註冊資訊。

參數

-HostPoolName

主機集區的名稱。

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

-TenantName

租用戶的名稱。

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

輸入

System.String

輸出

System.Object