Editar

Partilhar via


Get-AzStackHCIRemoteSupportAccess

Gets Remote Support Access.

Syntax

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

Description

Gets remote support access.

Examples

Example 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 :

Get remote access across a cluster

Example 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 :

Get remote access across a cluster with expired entries

Parameters

-Cluster

Optional. Defaults to false. Indicates whether to show remote support sessions across cluster.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-IncludeExpired

Optional. Defaults to false. Indicates whether to include past expired entries.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

Boolean