Set-DHASSupportedAuthenticationSchema
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 |
Aliases: | cf |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Force
Forces the command to run without asking for user confirmation.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
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 |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |