Edit

Share via


Get-AzStackHCIRemoteSupportAccess

Gets Remote Support Access.

Syntax

Default (Default)

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.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-IncludeExpired

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

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Outputs

Boolean