共用方式為


Get-AzStackHCIRemoteSupportAccess

取得遠端支援存取。

語法

Get-AzStackHCIRemoteSupportAccess
   [-Cluster]
   [-IncludeExpired]
   [<CommonParameters>]

Description

取得遠端支援存取。

範例

範例 1:

Get-AzStackHCIRemoteSupportAccess -Cluster

Microsoft.AzureStack.Deployment.RemoteSupport is loaded already ...
Getting RemoteSupport Access on this node
Retrieving Remote Support access. IncludeExpired is set to 'False'


State         : Active
CreatedAt     : 3/29/2022 10:30:55 AM +00:00
UpdatedAt     : 3/29/2022 10:30:55 AM +00:00
TargetService : PowerShell
AccessLevel   : Diagnostics
ExpiresAt     : 3/30/2022 10:30:55 AM +00:00
SasCredential :

跨叢集取得遠程訪問

範例 2:

Get-AzStackHCIRemoteSupportAccess -Cluster -IncludeExpired

Microsoft.AzureStack.Deployment.RemoteSupport is loaded already ...
Getting RemoteSupport Access on this node
Retrieving Remote Support access. IncludeExpired is set to 'True'


State         : Active
CreatedAt     : 3/29/2022 10:30:55 AM +00:00
UpdatedAt     : 3/29/2022 10:30:55 AM +00:00
TargetService : PowerShell
AccessLevel   : Diagnostics
ExpiresAt     : 3/30/2022 10:30:55 AM +00:00
SasCredential :

取得具有過期專案之叢集的遠端訪問

參數

-Cluster

自選。 默認值為 false。 指出是否要跨叢集顯示遠端支援會話。

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

-IncludeExpired

自選。 默認值為 false。 指出是否要包含過期的專案。

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

輸出

Boolean