< Back

Clear-PSFResultCache

Sun Jan 19, 2020 6:38 pm

NAME Clear-PSFResultCache



SYNOPSIS

Clears the result cache





SYNTAX

Clear-PSFResultCache [-WhatIf] [-Confirm] [<CommonParameters>]





DESCRIPTION

Clears the result cache, which can come in handy if you have a huge amount of data stored within and want to free

the memory.





PARAMETERS

-WhatIf [<SwitchParameter>]

If this switch is enabled, no actions are performed but informational messages will be displayed that explain

what would happen if the command were to run.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Confirm [<SwitchParameter>]

If this switch is enabled, you will be prompted for confirmation before executing any operations that change

state.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Clear-PSFResultCache



Clears the result cache, freeing up any used memory.











RELATED LINKS