Test-KdsRootKey
Test-KdsRootKey
Tests the root key configuration.
Sintaxis
Parameter Set: Default
Test-KdsRootKey [-KeyId] <Guid> [-Confirm] [-WhatIf] [ <CommonParameters>]
Descripción detallada
The Test-KdsRootKey cmdlet tests that the root key with the specified key identifier (ID) uses a valid configuration. The test verifies generation of both new group public key and group private key.
This cmdlet is useful for analyzing failures based on invalid root key configuration failures.
Parámetros
-KeyId<Guid>
Specifies the ID of the root key to test.
Alias |
ninguno |
¿Requerido? |
true |
¿Posición? |
1 |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
True (ByPropertyName) |
¿Aceptar caracteres comodín? |
false |
-Confirm
Solicita confirmación antes de ejecutar el cmdlet.
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
falso |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-WhatIf
Muestra lo que sucedería si se ejecutara el cmdlet. El cmdlet no se ejecuta.
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
falso |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
<CommonParameters>
Este cmdlet admite los siguientes parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Entradas
El tipo de entrada es el tipo de los objetos que se pueden canalizar al cmdlet.
None
This cmdlet accepts no input objects.
Salidas
El tipo de resultado es el tipo de objetos que emite el cmdlet.
System.Boolean
The Boolean object that indicates that the root key can be used to generate derived keys.
Ejemplos
Example 1: Test the root key configuration
This example tests the configuration of the root key specified by key ID.
PS C:\> Test-KdsRootKey –KeyId "4A3615F1-5A90-22E4-0B1D-1416F93D4412"