Skip to content

Latest commit

 

History

History
138 lines (105 loc) · 2.59 KB

Sync-DuoToken.md

File metadata and controls

138 lines (105 loc) · 2.59 KB
external help file Module Name online version schema
DuoSecurity-help.xml
DuoSecurity
2.0.0

Sync-DuoToken

SYNOPSIS

Resync Hardware Token

SYNTAX

Sync-DuoToken [-TokenId] <String> [-Code1] <String> [-Code2] <String> [-Code3] <String> [-WhatIf] [-Confirm]
 [<CommonParameters>]

DESCRIPTION

Resynchronize the hardware token with ID token_id by providing three successive codes from the token. Only HOTP and Duo-D100 tokens can be resynchronized. YubiKey tokens operating in their native AES mode do not need resynchronization. Requires "Grant write resource" API permission.

EXAMPLES

EXAMPLE 1

Sync-DuoToken -TokenId SOMEDUOID -Code1 123456 -Code2 789012 -Code3 345678

PARAMETERS

-TokenId

Id of token

Type: String
Parameter Sets: (All)
Aliases: token_id

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-Code1

The first code from the token.

Type: String
Parameter Sets: (All)
Aliases:

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

-Code2

The second code from the token.

Type: String
Parameter Sets: (All)
Aliases:

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

-Code3

The third code from the token.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 4
Default value: None
Accept pipeline input: False
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: None
Accept pipeline input: False
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the cmdlet.

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

Required: False
Position: Named
Default value: None
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

RELATED LINKS

https://duo.com/docs/adminapi#resync-hardware-token