Clear-MtGraphCache
SYNOPSIS
Section titled “SYNOPSIS”Resets the local cache of Graph API calls. Use this if you need to force a refresh of the cache in the current session.
SYNTAX
Section titled “SYNTAX”Clear-MtGraphCache [-ProgressAction <ActionPreference>] [<CommonParameters>]DESCRIPTION
Section titled “DESCRIPTION”By default all graph responses are cached and re-used for the duration of the session.
Use this function to clear the cache and force a refresh of the data from Microsoft Graph.
EXAMPLES
Section titled “EXAMPLES”EXAMPLE 1
Section titled “EXAMPLE 1”Clear-MtGraphCacheThis example clears the cache of all Graph API calls.
PARAMETERS
Section titled “PARAMETERS”-ProgressAction
Section titled “-ProgressAction”Determines how PowerShell responds to progress updates generated by a script, cmdlet, or provider, such as the progress bars generated by Write-Progress.
Type: ActionPreferenceParameter Sets: (All)Aliases: proga
Required: FalsePosition: NamedDefault value: NoneAccept pipeline input: FalseAccept wildcard characters: FalseCommonParameters
Section titled “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.