Edit

Share via


Get-DHASInactiveEncryptionCertificate

Gets the inactive encryption certificate.

Syntax

Get-DHASInactiveEncryptionCertificate []

Description

The Get-DHASInactiveEncryptionCertificate cmdlet gets the inactive encryption certificate thumbprint for the Device Health Attestation service.

You must have administrator rights to run this cmdlet.

Examples

Example 1: Get the inactive encryption certificate

PS C:\> Get-DHASInactiveEncryptionCertificate

This command gets the inactive encryption certificate thumbprint.

Outputs

String

This cmdlet returns the inactive encryption certificate as a String.