Clear-KdsCache
Clears the group key cache of the local computer.
Syntax
Clear-KdsCache
[-CacheOwnerSid <String>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
The Clear-KdsCache cmdlet clears the group key cache of the local computer.
The local computer can be either a domain controller running the Microsoft Group Key Distribution Service (KdsSvc) or a client of the Microsoft Group KdsSvc.
Examples
Example 1: Clear the group key cache
PS C:\> Clear-KdsCache
This command clears the group key cache of the local computer.
Example 2: Clear the group key cache of a specific user
PS C:\> Clear-KdsCache -CacheOwnerSid "s-1-1-0"
This command clears the group key cache of the user with SID s-1-1-0.
Parameters
-CacheOwnerSid
Specifies the security identifier (SID) for the user account whose cache this cmdlet clears.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
None
This cmdlet accepts no input objects.
Outputs
None
This cmdlet produces no output.
Related Links
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for