For the complete documentation index, see llms.txt. This page is also available as Markdown.

Clear-PSUCache

Clears the server side cache.

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-PSUCache

Clears 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

Last updated

Was this helpful?