Get-TpmSupportedFeature

Get-TpmSupportedFeature

Verifies whether a TPM supports specified features.

Syntaxe

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

Description détaillée

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

Paramètres

-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.

Alias

none

Obligatoire ?

false

Position ?

2

Valeur par défaut

none

Accepter l’entrée de pipeline ?

True (ByValue)

Accepter les caractères génériques ?

false

<CommonParameters>

Cette applet de commande prend en charge les paramètres courants : -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer et -OutVariable. Pour plus d’informations, consultez about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Entrées

Le type d’entrée correspond au type des objets que vous pouvez transmettre à l’applet de commande.

  • StringCollection

    This cmdlet accepts a collection of features to verify.

Sorties

Le type de sortie est le type des objets émis par l’applet de commande.

  • StringCollection

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

Exemples

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"