Summary
Retrieves the contents of an x509 Platform Certificate
Syntax
Get-HPPlatformCertificateData [-UseLocalPlatformCertificate] [<CommonParameters>]
Get-HPPlatformCertificateData [-PlatformCertificate <String>] [<CommonParameters>]
Description
This command retrieves the contents of an x509 Platform Certificate according to the TCG Platform Certificate Profile, version 1.1 Revision 19. The output is an object convertible to Json.
Parameters
Name | Argument | Description |
---|---|---|
PlatformCertificate | <String> | Specifies the path to the platform certificate file that is stored offline either locally in the PC or in a shared location. If the platform certificate belongs to the PC, the tool installs platform certificate in the local PC in both EFI system partition and UEFI variable. Please follow the following format for the Platform Certificate file: HPInc.<serial_number>.BASE.cer |
UseLocalPlatformCertificate | <SwitchParameter> | If specified, this command uses the Platform Certificate that is stored locally in the PC. The default locations for the certificate are the EFI System Partition /boot/tcg/cert/platform/ or \efi\tcg\cert\platform and UEFI Variable HpPlatformCertificateBase GUID {B44ED025-A047-4312-9E62-A1C3ACC8684D} |
Examples
PS C:\> Get-HPPlatformCertificateData -UseLocalPlatformCertificate
PS C:\> Get-HPPlatformCertificateData -PlatformCertificate "C:\Users\Tools\Test\HPInc.SCN3315BDN.BASE.cer"