Add-KdsRootKey
Generates a new root key for the Microsoft Group Key Distribution Service (KdsSvc) within Active Directory (AD).
Add-KdsRootKey
[-LocalTestOnly]
[[-EffectiveTime] <DateTime>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Add-KdsRootKey
[-LocalTestOnly]
[-EffectiveImmediately]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
The Add-KdsRootKey cmdlet generates a new root key for the Microsoft Group Key Distribution Service (KdsSvc) within Active Directory (AD). The Microsoft Group KdsSvc generates new group keys from the new root key. It is required to run this only once per forest.
PS C:\>Add-KdsRootKey
This example generates a new root key for the Microsoft Group KdsSvc within AD.
PS C:\>Add-KdsRootKey -EffectiveImmediately
This example generates a new root key immediately and adds it to the Microsoft Group KdsSvc.
PS C:\>Add-KdsRootKey -EffectiveTime "03/06/2013"
This example generates a new root key for the Microsoft Group KdsSvc which takes effect on the specified date 03/06/2013 using the mm/dd/yyyy format.
PS C:\>Add-KdsRootKey -LocalTestOnly
This example generates a new root key on the local host only.
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 |
Indicates that the Microsoft Group Key Distribution Service immediately uses the new root key.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the date on which the newly generated root key takes effect. If this parameter is not specified, the default date set is 10 days after the current date.
Type: | DateTime |
Position: | 0 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Indicates that the new root key is generated on the local host only. This parameter is used with the Set-KdsConfiguration cmdlet to test the local server configuration.
If this parameter is specified, then the cmdlet returns a value that indicates whether the test passed.
If this parameter is not specified, then the cmdlet returns the identifier (ID) of the root key when the operation succeeds.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
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 |
None
This cmdlet accepts no input objects.