Initialize-Tpm
Initialize-Tpm
Performs part of the provisioning process for a TPM.
Sintaxis
Parameter Set: Default
Initialize-Tpm [[-AllowClear]] [[-AllowPhysicalPresence]] [ <CommonParameters>]
Descripción detallada
The Initialize-Tpm cmdlet performs part of the provisioning process for a Trusted Platform Module (TPM). Provisioning is the process of preparing a TPM to be used. You may need to perform other steps to fully provision a TPM.
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
-AllowClear
Indicates that the provisioning process clears the TPM, if necessary, to move the TPM closer to complying with Windows Server® 2012 standards.
Alias |
c |
¿Requerido? |
false |
¿Posición? |
2 |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-AllowPhysicalPresence
Indicates that the provisioning process may send physical presence commands that require a user to be present in order to continue.
Alias |
p |
¿Requerido? |
false |
¿Posición? |
3 |
Valor predeterminado |
ninguno |
¿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.
- SwitchParameter
Salidas
El tipo de resultado es el tipo de objetos que emite el cmdlet.
TpmProvisioningObject
This cmdlet returns a TpmProvisioningObject object that includes the following information:
-- TpmReady. Whether the TPM is complies with Windows Server® 2012 standards.
-- RestartRequired. Whether the computer requires a restart to continue the provisioning process.
-- ShutdownRequired. Whether the computer must be shut down to continue the provisioning process.
-- ClearRequired. If this has a value of True, you must import an owner authorization value or remove the owner authorization value.
-- PhysicalPresenceRequired. Whether a person must be at the computer during restart to continue the provisioning process.
Ejemplos
Example 1: Initialize a TPM
This command initializes a TPM. The ForceClearAllowed parameter means that the owner authorization value needs to be imported or reset in order for provisioning to continue. The PhysicalPresenceAllowed parameter means that a user must be present during a restart to continue the process.
The cmdlet returns an object with information about the state of the provisioning process.
PS C:\> Initialize-Tpm -ForceClearAllowed -PhysicalPresenceAllowed