Syntax
Export-Tpm2EndorsementKey [-VMHost] <VMHost[]> [-Confirm] -FilePath <String> [-Force] [-Server <VIServer[]>] [-WhatIf] [<CommonParameters>]Related Commands
Online VersionDetailed Description
This cmdlet exports the TPM 2.0 endorsement key from the TPM 2.0 chip in the specified host. It only works when you connect to the specified host directly by using the Connect-VIServer cmdlet.Parameters
Return Type
System.IO.FileInfoNotes
Examples
-------------------------- Example 1 --------------------------
Connect-VIServer -Server 1.1.1.1 -User myroot -Password mypassword Export-Tpm2EndorsementKey -VMHost 1.1.1.1 -Server 1.1.1.1 -FilePath c:\mypath
Exports the TPM 2.0 endorsement key from the TPM 2.0 chip in the 1.1.1.1 host to the c:\mypath file.