Get-MbamTPMOwnerPassword

Gets a Trusted Platform Module (TPM). owner password.

Syntax

Get-MbamTPMOwnerPassword
   -ComputerDomain <String>
   -ComputerName <String>
   -Reason <String>
   [-UserDomain <String>]
   [-UserID <String>]
   -HelpDeskUrl <Uri>
   [<CommonParameters>]

Description

The Get-MbamTPMOwnerPassword cmdlet gets an owner password for a Trusted Platform Module (TPM). If a TPM does not accept the user PIN, it becomes locked. You need to use the owner password to unlock the TPM.

Examples

Example 1: Get the TPM owner password

PS C:\> Get-MbamTPMOwnerPassword -ComputerDomain "ContosoDomain" -ComputerName "ContosoComputer" -Reason "Forgot PIN" -HelpDeskUrl https://helpdeskserver/HelpDesk -UserDomain "ContosoDomain" -UserID "ContosoUser"

This command gets the TPM owner password from the MBAM help desk server for the specified computer and user. The command also specifies the reason the TPM is locked.

Parameters

-ComputerDomain

Specifies the domain of the locked computer.

Type:String
Aliases:cd
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-ComputerName

Specifies the name of the locked computer.

Type:String
Aliases:cn
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-HelpDeskUrl

Specifies the URL for the Microsoft BitLocker Administration and Monitoring (MBAM) help desk site.

Type:Uri
Aliases:url
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Reason

Specifies the reason for the password request.

Type:String
Aliases:r
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-UserDomain

Specifies the domain of the user.

Type:String
Aliases:ud
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-UserID

Specifies the ID of the user.

Type:String
Aliases:uid
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

String

The TPM owner password.