Key Distribution Server (KDS) Cmdlets in Windows PowerShell

Windows PowerShell® is a task-based command-line shell and scripting language designed especially for system administration. This reference topic for the information technology (IT) professional provides assistance in utilizing the Windows PowerShell cmdlets to script and automate tasks.

Key Distribution Service (KDS)

This reference provides cmdlet descriptions and syntax for all Key Distribution Service (KDS)-specific cmdlets. It lists the cmdlets in alphabetical order based on the verb at the beginning of the cmdlet.


cmdlet Description


Generates a new root key for the Microsoft Group Key Distribution Service (KdsSvc) within Active Directory (AD).


Clears the group key cache of the local computer.


Retrieves the current configuration of the Microsoft Group Key Distribution Service (KdsSvc) from Active Directory (AD).


Retrieves a list of root key values stored by the Microsoft Group Key Distribution Service (KdsSvc).


Sets the configuration of Microsoft Group Key Distribution Service (KdsSvc).


Tests the root key configuration.

To list all the cmdlets that are available, use the Get-Command –Module Kds cmdlet.

For more information about, or for the syntax of, any of the cmdlets, use the Get-Help <cmdlet name> cmdlet, where <cmdlet name> is the name of the cmdlet that you want to research. For more detailed information, you can run any of the following cmdlets:

Get-Help <cmdlet name> -Detailed
Get-Help <cmdlet name> -Examples
Get-Help <cmdlet name> -Full

Community Additions