external help file: powershellYK.dll-Help.xml Module Name: powershellYK online version: schema: 2.0.0
Remove YubiKey OTP slot.
Remove-YubikeyOTP -Slot <Slot> [-WhatIf] [-Confirm] [<CommonParameters>]
Remove the OTP configuration from a slot on the Yubikey
PS C:\> Remove-YubikeyOTP -Slot 1
Removes the OTP configuration from slot 1 (Short press)
PS C:\> $Slot = [Yubico.YubiKey.Otp.Slot]::ShortPress
PS C:\> Remove-YubikeyOTP -Slot $Slot
Removes the OTP configuration from slot 1 (Short press)
Yubikey OTP Slot
Type: Slot
Parameter Sets: (All)
Aliases:
Accepted values: None, ShortPress, LongPress
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
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
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
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.