Get-MtSession
SYNOPSIS
Gets the current Maester session information which includes the current Graph base uri and other details. These are read-only and should not be modified directly.
SYNTAX
Get-MtSession [-ProgressAction <ActionPreference>] [<CommonParameters>]
DESCRIPTION
Get-MtSession is intended for troubleshooting and diagnostic display of the current Maester module session. It returns a sanitized copy of the session data rather than the live internal session object.
Sensitive values are stripped from the output. For example, the GitHubAuthHeader Authorization value is redacted so copied session output cannot leak the GitHub token. The live session used by internal callers is unchanged.
EXAMPLES
EXAMPLE 1
Get-MtSession
Returns the current Maester session information.
PARAMETERS
-ProgressAction
{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.