Modifier

Partager via


Get-AzStackHCIRemoteSupportSessionHistory

Gets Remote Support Session History Details.

Syntax

Get-AzStackHCIRemoteSupportSessionHistory
   [[-SessionId] <String>]
   [-IncludeSessionTranscript]
   [[-FromDate] <DateTime>]
   [<CommonParameters>]

Description

Session history represents all remote accesses made by Microsoft Support for either Diagnostics or DiagnosticsRepair based on the Access Level granted.

Examples

Example 1:

Get-AzStackHCIRemoteSupportSessionHistory

Microsoft.AzureStack.Deployment.RemoteSupport is loaded already ...
Listing Session History for last '7' days.
No remote support session exists.

Gets Session Transcript for the particular session Id when access was made by Microsoft Support for either Diagnostics or DiagnosticsRepair based on the Access Level granted.

Parameters

-FromDate

Optional. Defaults to last 7 days. Indicates date from where to start listing sessions from until now.

Type:DateTime
Position:2
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-IncludeSessionTranscript

Optional. Defaults to false. Indicates whether to include complete session transcript. Transcript provides details on all operations performed during the session.

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

-SessionId

Optional. Session Id to get details for a specific session. If omitted then lists all sessions starting from date 'FromDate'.

Type:String
Position:1
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

Boolean