Get-AzStackHCIRemoteSupportSessionHistory
Gets Remote Support Session History Details.
Syntax
Default (Default)
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.
Parameter properties
| Type: | DateTime |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | 2 |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-IncludeSessionTranscript
Optional. Defaults to false. Indicates whether to include complete session transcript. Transcript provides details on all operations performed during the session.
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 |
-SessionId
Optional. Session Id to get details for a specific session. If omitted then lists all sessions starting from date 'FromDate'.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | 1 |
| 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.