Clear-PSUCache
SYNOPSIS
Clears the server side cache.
SYNTAX
Clear-PSUCache [-ComputerName <String>] [-AppToken <String>] [-Credential <PSCredential>]
[-UseDefaultCredentials] [-Integrated] [-TrustCertificate] [-Cookies]
[<CommonParameters>]DESCRIPTION
Clears the server side cache. This does not affect $Cache: variables in the current session.
EXAMPLES
Example 1
PS C:\> Clear-PSUCacheClears the server side cache.
PARAMETERS
-AppToken
An application token to use for authentication.
-ComputerName
The URL of the server to connect to.
-Integrated
For use when running within PowerShell Universal.
-UseDefaultCredentials
Use the default credentials for the current user.
-Credential
Credentials to login to the PowerShell Universal service.
-TrustCertificate
Skips certificate checks.
-Cookies
Reuses and persists authentication cookies for the current PowerShell session.
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -Verbose, -WarningAction, -WarningVariable, and -ProgressAction. For more information, see about_CommonParameters.
INPUTS
None
OUTPUTS
System.Object
NOTES
RELATED LINKS
PERMISSIONS
The access token requires platform.cache/delete to run this cmdlet remotely.
Last updated
Was this helpful?