Remove-R1Cache
Remove-R1Cache
SYNOPSIS
Deletes a persistent cache.
SYNTAX
Remove-R1Cache [-dn] <String> [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Deletes the persistent cache of the naming context node identified by its DN. The naming context itself is left as it is, presenting its backend directly again.
EXAMPLES
Example 1
Remove-R1Cache -dn 'o=directory'
Deletes the cache of o=directory, after prompting for confirmation.
Example 2
Invoke-R1CacheRealTimeConnectorScript -dn 'o=hr' -connectorId 'northwind_APP.EMPLOYEES' -action DECONFIGURE
Remove-R1Cache -dn 'o=hr'
Removes the triggers and log table a real time connector put into its database, then deletes the cache.
PARAMETERS
-dn
The DN of the cache.
Type: String
Parameter Sets: (All)
Aliases: label
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
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.
INPUTS
None
OUTPUTS
System.Void
NOTES
The scripts a real time connector ran against its data source are not undone by deleting the cache. Run its DECONFIGURE scripts first with Invoke-R1CacheRealTimeConnectorScript.