Export (0) Print
Expand All

TPM Cmdlets in Windows PowerShell

Windows Server 2012 R2 and Windows 8.1

Updated: October 17, 2013

Applies To: Windows 8.1, Windows PowerShell 4.0, Windows Server 2012 R2

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.

Trusted Platform Module (TPM) Cmdlets

This reference provides cmdlet descriptions and syntax for all TPM cmdlets. It lists the cmdlets in alphabetical order based on the verb at the beginning of the cmdlet.

 

Cmdlet Description

Clear-Tpm

Resets a TPM to its default state.

ConvertTo-TpmOwnerAuth

Creates a TPM owner authorization value.

Disable-TpmAutoProvisioning

Disables TPM auto-provisioning.

Enable-TpmAutoProvisioning

Enables TPM provisioning for the next restart.

Get-Tpm

Gets an object that contains information about a TPM.

Get-TpmEndorsementKeyInfo

Gets information about the endorsement key and certificates of the TPM.

Get-TpmSupportedFeature

Verifies whether a TPM supports specified features.

Import-TpmOwnerAuth

Imports a TPM owner authorization value to the registry.

Initialize-Tpm

Performs part of the provisioning process for a TPM.

Set-TpmOwnerAuth

Changes the TPM owner authorization value.

Unblock-Tpm

Ends a TPM lockout.

noteNote
To list all the cmdlets that are available, use the Get-Command –Module TrustedPlatformModule 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

More Information

For more information about the cmdlets, see the following:

Trusted Platform Module Technology Overview

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft