Share via


Get-MgRequestContext

Gets graph request context details

Syntax

__AllParameterSets

Get-MgRequestContext
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Description

Gets graph request context details

Examples

Get request context

PS C:> Get-MgRequestContext ClientTimeout RetryDelay MaxRetry RetriesTimeLimit


00:00:05 3 2 00:00:02

Gets graph request context details

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Parameter properties

Type:System.Management.Automation.SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

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

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Parameter properties

Type:System.Management.Automation.SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False
Aliases:wi

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

Microsoft.Graph.PowerShell.Authentication.Core.Interfaces.IRequestContext