Set-PSUCache
Sets an object into the PowerShell Universal server-side cache.
SYNOPSIS
SYNTAX
None (Default)
Set-PSUCache -Key <String> -Value <Object> [-Persist] [-Role <String[]>] [-Depth <Int32>]
[-ComputerName <String>] [-AppToken <String>] [-Credential <PSCredential>] [-UseDefaultCredentials]
[-Integrated] [-TrustCertificate] [-Cookies] [<CommonParameters>]Absolute
Set-PSUCache -Key <String> -Value <Object> [-AbsoluteExpiration <DateTime>] [-Persist] [-Role <String[]>]
[-Depth <Int32>] [-ComputerName <String>] [-AppToken <String>] [-Credential <PSCredential>]
[-UseDefaultCredentials] [-Integrated] [-TrustCertificate] [-Cookies]
[<CommonParameters>]AbsoluteExpirationFromNow
Set-PSUCache -Key <String> -Value <Object> [-AbsoluteExpirationFromNow <TimeSpan>] [-Persist]
[-Role <String[]>] [-Depth <Int32>] [-ComputerName <String>] [-AppToken <String>] [-Credential <PSCredential>]
[-UseDefaultCredentials] [-Integrated] [-TrustCertificate] [-Cookies]
[<CommonParameters>]SlidingExpiration
DESCRIPTION
EXAMPLES
Example 1
Example 2
Example 3
Example 4
PARAMETERS
-AbsoluteExpiration
-AbsoluteExpirationFromNow
-Key
-SlidingExpiration
-Value
-AppToken
-ComputerName
-Integrated
-UseDefaultCredentials
-Credential
-Persist
-Role
-TrustCertificate
-Cookies
-Depth
CommonParameters
INPUTS
None
OUTPUTS
System.Object
NOTES
RELATED LINKS
Last updated
Was this helpful?