external help file: powershellYK.dll-Help.xml Module Name: powershellYK online version: schema: 2.0.0
Gets information about the PIV module and specific slots.
Get-YubikeyPIV [-Slot <PIVSlot>] [<CommonParameters>]
Gets information from both the yubikey and specific slots.
PS C:\> Get-YubikeyPIV
PinRetriesLeft : 8
PinRetries : 8
PukRetriesLeft : 4
PukRetries : 4
CHUID : 31-A5-EC-44-7F-1F-7E-C5-EA-4C-A8-3C-BB-28-F9-01
SlotsWithPrivateKeys : {154, 158}
Displays the number of retires left and total for PIN and PUK code. Aswell as Slots with private keys and the CHUID.
PS C:\> Get-YubikeyPIV -Slot 0x9e
Slot : 0x9E
KeyStatus : Generated
Algorithm : EccP384
PinPolicy : Never
TouchPolicy : Never
Subjectname : CN=powershellYK
Issuer : CN=powershellYK
NotBefore : 2024-06-12 21:36:26
NotAfter : 2034-06-12 21:36:26
Displays information about the PIV slot and any contained certificate
Retrive a info from specific slot
Type: PIVSlot
Parameter Sets: (All)
Aliases:
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.