Unlock-Yubikey command should detect removal and reinsertion of YubiKey similar to reset command.
This would allow us to provide command feedback, e.g.: use: WriteObject("Successfully removed YubiKey lock code."); once reinserted.
https://github.com/virot/powershellYK/blob/master/Module/Cmdlets/Yubikey/UnlockYubikey.cs
Unlock-Yubikey command should detect removal and reinsertion of YubiKey similar to reset command.
This would allow us to provide command feedback, e.g.: use:
WriteObject("Successfully removed YubiKey lock code.");once reinserted.https://github.com/virot/powershellYK/blob/master/Module/Cmdlets/Yubikey/UnlockYubikey.cs