Import-TpmOwnerAuth
Import-TpmOwnerAuth
Imports a TPM owner authorization value to the registry.
Sintaxis
Parameter Set: File
Import-TpmOwnerAuth -File <String> [ <CommonParameters>]
Parameter Set: Owner Auth
Import-TpmOwnerAuth [-OwnerAuthorization] <String> [ <CommonParameters>]
Descripción detallada
The Import-TpmOwnerAuth cmdlet imports a valid Trusted Platform Module (TPM) owner authorization value to the registry.
For more information on TPM, see the Trusted Platform Module Technology Overview in the Technet library at https://technet.microsoft.com/en-us/library/jj131725.aspx.
Parámetros
-File<String>
Specifies a file that contains the current owner authorization value for the TPM. You can use the TPM Management Console to create this file.
Alias |
ninguno |
¿Requerido? |
true |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-OwnerAuthorization<String>
Specifies the current owner authorization value for the TPM.
Alias |
ninguno |
¿Requerido? |
true |
¿Posición? |
2 |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
true (ByValue) |
¿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.
String
The owner authorization value for the TPM.
Salidas
El tipo de resultado es el tipo de objetos que emite el cmdlet.
TpmObject
A TpmObject object contains the following information:
-- TpmReady. Whether a TPM complies with Windows Server® 2012 standards.
-- TpmPresent. Whether there is a TMP on the current computer.
-- ManagedAuthLevel. The level at which the operating system manages the owner authorization. Possible values are Legacy, Balanced, and Full.
-- OwnerClearDisabled. Whether TPM can be reset. If this value is True, the TPM cannot be reset through the operating system by using the owner authorization value. If this value is False, the TPM can be reset through the operating system.
-- AutoProvisioning. Whether the computer can use auto-provisioning. Possible values are NotDefined, Enabled, Disabled, and DisabledForNextBoot.
-- LockedOut. Whether a TPM is locked out.
-- SelfTest. Information returned by a test that TPM runs.
Ejemplos
Example 1: Import an owner authorization value
This command imports the specified owner authorization value to the registry.
PS C:\> Import-TpmOwnerAuth -OwnerAuthorization "Qn2sdCFQmvjf+tBtSWH4GT87sQs="
Example 2: Import an owner authorization value from a file
This command imports the owner authorization value in the specified file to the registry.
PS C:\> Import-TpmOwnerAuth -File "OwnAuthFile.tpm"