Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Clear-KdsCache

Clear-KdsCache

microsoft.keydistributionservice.cmdlets.dll

Synopsis

Clears the group key cache of the local computer.

Syntax

Clear-KdsCache [-CacheOwnerSid] [-Confirm] [-WhatIf] [<CommonParameters>]

Detailed 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.

Aliases

None

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.

Aliases

None

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.

Aliases

None

Required?

false

Position

named

Default value

false

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type

None

Return Type

None

Notes

None

Examples

Example 1: Clear the group key cache

This example clears the group key cache of the local computer.

PS C:\>Clear-KdsCache

Example 2: Clear the group key cache of a specific user

This example clears the group key cache of the user with SID s-1-1-0.

PS C:\>Clear-KdsCache –CacheOwnerSid "s-1-1-0"

Online Version
Add-KdsRootKey
Get-KdsConfiguration
Get-KdsRootKey
Set-KdsConfiguration
Test-KdsRootKey