Get-R1Cache
Get-R1Cache
SYNOPSIS
Returns persistent caches.
SYNTAX
All (Default)
Get-R1Cache [-baseDn <String>] [<CommonParameters>]
Dn
Get-R1Cache -dn <String> [<CommonParameters>]
DESCRIPTION
Returns the persistent caches configured in the directory namespace, each with its refresh type and whether it is active, configured and initialized.
Specify a DN to return a single cache, or a base DN to return only the caches at or below it. When neither is specified, every cache is returned.
EXAMPLES
Example 1
Get-R1Cache
Returns every cache.
Example 2
Get-R1Cache -dn 'o=directory'
Returns the cache at o=directory.
Example 3
Get-R1Cache -baseDn 'o=directory'
Returns the caches at or below o=directory.
Example 4
Get-R1Cache | Get-R1CacheRefresh
Returns the refresh settings of every cache.
PARAMETERS
-dn
The DN of the cache.
Type: String
Parameter Sets: Dn
Aliases: label
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-baseDn
Returns only the caches at or below this DN.
Type: String
Parameter Sets: All
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
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.