Get-TpmSupportedFeature

Get-TpmSupportedFeature

Verifies whether a TPM supports specified features.

Syntax

Parameter Set: Default
Get-TpmSupportedFeature [[-FeatureList] <StringCollection> ] [ <CommonParameters>]

Detailed Description

The Get-TpmSupportedFeature cmdlet verifies whether a Trusted Platform Module (TPM) supports specified TPM features. Not all TPMs support all features.

Parameters

-FeatureList<StringCollection>

Specifies feature names as a string collection. The cmdlet verifies the features that you specify. If you specify an empty collection, $Null, or do not include this parameter, the cmdlet verifies all features.

Aliases

none

Required?

false

Position?

2

Default Value

none

Accept Pipeline Input?

True (ByValue)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • StringCollection

    This cmdlet accepts a collection of features to verify.

Outputs

The output type is the type of the objects that the cmdlet emits.

  • StringCollection

    This cmdlet generates a StringCollection object that contains features that the TPM of the computer supports.

Examples

Example 1: Verify support for key attestation

This command verifies whether TPM supports the key attestation feature. The cmdlet displays the string, key attestation, so TPM supports that feature.

PS C:\> Get-TpmSupportedFeatures -FeatureList "Key Attestation"