< Back
Clear-KdsCache
Post
NAME Clear-KdsCache
SYNOPSIS
Clears the group key cache of the local computer.
SYNTAX
Clear-KdsCache [-CacheOwnerSid <String>] [-Confirm] [-WhatIf] [<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.
PARAMETERS
-CacheOwnerSid [<String>]
Specifies the security identifier (SID) for the user account whose cache this cmdlet clears.
Required? false
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.
Required? false
Position? named
Default value false
Accept pipeline input? false
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.
Required? false
Position? named
Default value false
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 (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
None
This cmdlet accepts no input objects.
OUTPUTS
None
This cmdlet produces no output.
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.
RELATED LINKS
Add-KdsRootKey
Get-KdsConfiguration
Get-KdsRootKey
Set-KdsConfiguration
Test-KdsRootKey
SYNOPSIS
Clears the group key cache of the local computer.
SYNTAX
Clear-KdsCache [-CacheOwnerSid <String>] [-Confirm] [-WhatIf] [<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.
PARAMETERS
-CacheOwnerSid [<String>]
Specifies the security identifier (SID) for the user account whose cache this cmdlet clears.
Required? false
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.
Required? false
Position? named
Default value false
Accept pipeline input? false
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.
Required? false
Position? named
Default value false
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 (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
None
This cmdlet accepts no input objects.
OUTPUTS
None
This cmdlet produces no output.
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.
RELATED LINKS
Add-KdsRootKey
Get-KdsConfiguration
Get-KdsRootKey
Set-KdsConfiguration
Test-KdsRootKey