public/core/Get-MtSession.ps1
|
<#
.SYNOPSIS Gets the current MyCorp session information which includes the current Graph base uri and other details. These are read-only and should not be modified directly. .DESCRIPTION The session information can be used to troubleshoot issues with the MyCorp module. .EXAMPLE Get-MtSession Returns the current MyCorp session information. .LINK https://mycorp.dev/docs/commands/Get-MtSession #> function Get-MtSession { [CmdletBinding()] param() Write-Verbose 'Getting the current MyCorp session information.' Write-Output $__MtSession } |