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

Set-DHASSupportedAuthenticationSchema

Last Updated: 3/26/2017

SYNOPSIS

Sets authentication schemas.

SYNTAX

Set-DHASSupportedAuthenticationSchema [-SupportedAuthenticationSchema] <String> [-Force] [-WhatIf] [-Confirm]
 [<CommonParameters>]

DESCRIPTION

The Set-DHASSupportedAuthenticationSchema cmdlet sets the authentication schemas that are supported by the Device Health Attestation service.

You must have administrator rights to run this cmdlet.

EXAMPLES

Example 1: Set the authentication schemas to support

PS C:\> Set-DHASSupportedAuthenticationSchema -SupportedAuthenticationSchema "AikPub,EkCertificate"

This command sets the supported authentication schemas.

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

-SupportedAuthenticationSchema

Specifies, in a comma-separated list, the authentication schema that the Device Health Attestation service supports. The acceptable values for this parameter are:

  • AikPub
  • AikCertificate
  • EkCertificate

You cannot specify both AikCertificate and EkCertificate in the same command.

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

OUTPUTS

NOTES

© 2017 Microsoft