Table of contents
TLS
TOC
Collapse the table of content
Expand the table of content

Clear-KdsCache

Brian Lich|Last Updated: 3/8/2017

SYNOPSIS

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
Parameter Sets: (All)
Aliases: 

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: 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
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: False
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

This cmdlet accepts no input objects.

OUTPUTS

None

This cmdlet produces no output.

NOTES

Add-KdsRootKey

Get-KdsConfiguration

Get-KdsRootKey

Set-KdsConfiguration

Test-KdsRootKey

© 2017 Microsoft