編輯

共用方式為


ConvertTo-TpmOwnerAuth

Creates a TPM owner authorization value from a supplied string.

Syntax

ConvertTo-TpmOwnerAuth
              [-PassPhrase] <String>
              [<CommonParameters>]

Description

The ConvertTo-TpmOwnerAuth cmdlet creates a Trusted Platform Module (TPM) owner authorization value based on a pass phrase string. A computer requires an owner authorization value to manage a TPM.

For more information on TPM, see the Trusted Platform Module Technology Overview in the Technet library.

Examples

Example 1: Convert to owner authorization value

PS C:\> ConvertTo-TpmOwnerAuth -PassPhrase "Saturn1977&&"
puJvGK4O6Qvl0loP8r1bIxipDVo=

This command converts the string Saturn1977&& to an owner authorization value.

Parameters

-PassPhrase

Specifies a pass phrase string. This cmdlet converts the pass phrase to an owner authorization value.

Type:String
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

Inputs

String

This cmdlet accepts a user-supplied pass phrase string.

Outputs

String

This cmdlet returns an owner authorization value.