Description:
Remove-YubikeyOTP fails at slot configuration removal
Steps to reproduce:
- Verify slot configuration:
Get-YubikeyOTP
Slot Configured RequiresTouch
ShortPress True True
LongPress False False
- Attempt to remove ShortPress (Slot 1):
Remove-YubikeyOTP
cmdlet Remove-YubikeyOTP at command pipeline position 1
Supply values for the following parameters:
(Type !? for Help.)
Slot: 1
Remove-YubikeyOTP: Cannot validate argument on parameter 'Slot'. Invalid formatted slot
- Second attempt:
Remove-YubikeyOTP -Slot 1
Confirm
Are you sure you want to perform this action?
Performing the operation "Set" on target "Yubikey OTP ShortPress".
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): y
Remove-YubikeyOTP: YubiKey Operation Failed [Warning, state of non-volatile memory is unchanged.]
Result:
Removal of slot configuration fails.
Description:
Remove-YubikeyOTP fails at slot configuration removal
Steps to reproduce:
Get-YubikeyOTPRemove-YubikeyOTPRemove-YubikeyOTP -Slot 1Result:
Removal of slot configuration fails.