Table of contents
TLS
TOC
Collapse the table of content
Expand the table of content

Set-DHASActiveSigningCertificate

Last Updated: 3/26/2017

SYNOPSIS

Sets the active signing certificate.

SYNTAX

Set-DHASActiveSigningCertificate [-Thumbprint] <String> [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

The Set-DHASActiveSigningCertificate cmdlet sets the active signing certificate for the Device Health Attestation service.

You must have administrator rights to run this cmdlet.

EXAMPLES

Example 1: Set the active signing certificate

PS C:\> Set-DHASActiveSigningCertificate -Thumbprint "0123456789ABCDEF0123456789ABCDEF01234567"

This command sets the active signing certificate.

PARAMETERS

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-Force

Forces the command to run without asking for user confirmation.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Thumbprint

Specifies the signing certificate thumbprint. The value must contain only hexadecimal digits (0-9, A-F) and be 40 characters in length. This value is case-insensitive.

Type: String
Parameter Sets: (All)
Aliases: 

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

String

The input type is a string for the active signing certificate thumbprint.

OUTPUTS

NOTES

Get-DHASActiveSigningCertificate

© 2017 Microsoft