From 006d3a87682548611027dc17344e55c25e3471cf Mon Sep 17 00:00:00 2001 From: Oscar Virot Date: Thu, 23 Jul 2026 08:04:02 +0200 Subject: [PATCH] Update buildscript to remove the ms-date that triggers GIT changes on every run Remove old Protect-YubiKeyOATH --- Docs/Commands/Assert-YubikeyPIV.md | 3 +- Docs/Commands/Block-YubikeyPIV.md | 3 +- ...ild-YubiKeyPIVCertificateSigningRequest.md | 3 +- .../Build-YubikeyPIVSignCertificate.md | 3 +- .../Confirm-YubiKeyFIDO2Attestation.md | 1 - .../Commands/Confirm-YubiKeyPIVAttestation.md | 3 +- Docs/Commands/Connect-Yubikey.md | 3 +- Docs/Commands/Connect-YubikeyFIDO2.md | 3 +- Docs/Commands/Connect-YubikeyOATH.md | 3 +- Docs/Commands/Connect-YubikeyPIV.md | 3 +- Docs/Commands/ConvertTo-AltSecurity.md | 3 +- Docs/Commands/Disconnect-Yubikey.md | 3 +- ...nable-YubikeyFIDO2EnterpriseAttestation.md | 3 +- .../Commands/Enable-powershellYKSDKLogging.md | 3 +- Docs/Commands/Export-YubiKeyFIDO2Blob.md | 1 - Docs/Commands/Export-YubikeyPIVCertificate.md | 3 +- Docs/Commands/Find-Yubikey.md | 3 +- Docs/Commands/Get-Yubikey.md | 3 +- Docs/Commands/Get-YubikeyBIOFingerprint.md | 3 +- Docs/Commands/Get-YubikeyFIDO2.md | 3 +- Docs/Commands/Get-YubikeyFIDO2Credential.md | 3 +- Docs/Commands/Get-YubikeyOATH.md | 3 +- Docs/Commands/Get-YubikeyOATHAccount.md | 3 +- Docs/Commands/Get-YubikeyOTP.md | 3 +- Docs/Commands/Get-YubikeyPIV.md | 3 +- Docs/Commands/Get-powershellYKInfo.md | 3 +- Docs/Commands/Import-YubiKeyFIDO2Blob.md | 3 +- Docs/Commands/Import-YubikeyPIV.md | 3 +- Docs/Commands/Lock-Yubikey.md | 3 +- Docs/Commands/Move-YubikeyPIV.md | 3 +- Docs/Commands/New-Challenge.md | 3 +- Docs/Commands/New-YubiKeyFIDO2Credential.md | 3 +- Docs/Commands/New-YubikeyOATHAccount.md | 3 +- Docs/Commands/New-YubikeyPIVKey.md | 3 +- Docs/Commands/New-YubikeyPIVSelfSign.md | 3 +- Docs/Commands/Protect-YubiKeyFIDO2File.md | 1 - Docs/Commands/Protect-YubikeyOATH.md | 42 ------------------- .../Register-YubikeyBIOFingerprint.md | 3 +- Docs/Commands/Remove-YubiKeyBIOFingerprint.md | 3 +- .../Commands/Remove-YubikeyFIDO2Credential.md | 3 +- Docs/Commands/Remove-YubikeyOATHAccount.md | 3 +- Docs/Commands/Remove-YubikeyOTP.md | 3 +- Docs/Commands/Remove-YubikeyPIVKey.md | 3 +- Docs/Commands/Rename-YubikeyBIOFingerprint.md | 3 +- Docs/Commands/Rename-YubikeyOATHAccount.md | 3 +- Docs/Commands/Request-YubikeyOATHCode.md | 3 +- Docs/Commands/Request-YubikeyOTPChallange.md | 3 +- Docs/Commands/Reset-YubiKeyBioMPE.md | 3 +- Docs/Commands/Reset-YubikeyFIDO2.md | 3 +- Docs/Commands/Reset-YubikeyOATH.md | 3 +- Docs/Commands/Reset-YubikeyPIV.md | 3 +- Docs/Commands/Set-YubiKeyOATHPassword.md | 3 +- Docs/Commands/Set-YubiKeyOTPSlotAccessCode.md | 3 +- Docs/Commands/Set-Yubikey.md | 3 +- Docs/Commands/Set-YubikeyFIDO2.md | 3 +- Docs/Commands/Set-YubikeyFIDO2PIN.md | 3 +- Docs/Commands/Set-YubikeyOTP.md | 3 +- Docs/Commands/Set-YubikeyPIV.md | 3 +- Docs/Commands/Switch-YubikeyOTP.md | 3 +- Docs/Commands/Unblock-YubikeyPIV.md | 3 +- Docs/Commands/Unlock-Yubikey.md | 3 +- Docs/Commands/Unprotect-YubiKeyFIDO2File.md | 1 - Docs/Commands/Unprotect-YubikeyOATH.md | 3 +- Docs/Commands/powershellYK.md | 1 - build.ps1 | 17 ++++++++ 65 files changed, 75 insertions(+), 163 deletions(-) delete mode 100644 Docs/Commands/Protect-YubikeyOATH.md diff --git a/Docs/Commands/Assert-YubikeyPIV.md b/Docs/Commands/Assert-YubikeyPIV.md index d0f485e..b262457 100644 --- a/Docs/Commands/Assert-YubikeyPIV.md +++ b/Docs/Commands/Assert-YubikeyPIV.md @@ -1,9 +1,8 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: Module Name: powershellYK -ms.date: 03-19-2026 PlatyPS schema version: 2024-05-01 --- diff --git a/Docs/Commands/Block-YubikeyPIV.md b/Docs/Commands/Block-YubikeyPIV.md index eeff554..ee99878 100644 --- a/Docs/Commands/Block-YubikeyPIV.md +++ b/Docs/Commands/Block-YubikeyPIV.md @@ -1,9 +1,8 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: Module Name: powershellYK -ms.date: 03-19-2026 PlatyPS schema version: 2024-05-01 --- diff --git a/Docs/Commands/Build-YubiKeyPIVCertificateSigningRequest.md b/Docs/Commands/Build-YubiKeyPIVCertificateSigningRequest.md index f41aced..000fb17 100644 --- a/Docs/Commands/Build-YubiKeyPIVCertificateSigningRequest.md +++ b/Docs/Commands/Build-YubiKeyPIVCertificateSigningRequest.md @@ -1,9 +1,8 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: Module Name: powershellYK -ms.date: 03-19-2026 PlatyPS schema version: 2024-05-01 --- diff --git a/Docs/Commands/Build-YubikeyPIVSignCertificate.md b/Docs/Commands/Build-YubikeyPIVSignCertificate.md index a397522..de02750 100644 --- a/Docs/Commands/Build-YubikeyPIVSignCertificate.md +++ b/Docs/Commands/Build-YubikeyPIVSignCertificate.md @@ -1,9 +1,8 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: Module Name: powershellYK -ms.date: 03-19-2026 PlatyPS schema version: 2024-05-01 --- diff --git a/Docs/Commands/Confirm-YubiKeyFIDO2Attestation.md b/Docs/Commands/Confirm-YubiKeyFIDO2Attestation.md index e7b4671..c0bd4ee 100644 --- a/Docs/Commands/Confirm-YubiKeyFIDO2Attestation.md +++ b/Docs/Commands/Confirm-YubiKeyFIDO2Attestation.md @@ -4,7 +4,6 @@ external help file: powershellYK.dll-Help.xml HelpUri: '' Locale: en-SE Module Name: powershellYK -ms.date: 03-26-2026 PlatyPS schema version: 2024-05-01 title: Confirm-YubiKeyFIDO2Attestation --- diff --git a/Docs/Commands/Confirm-YubiKeyPIVAttestation.md b/Docs/Commands/Confirm-YubiKeyPIVAttestation.md index 714223a..90f9ef6 100644 --- a/Docs/Commands/Confirm-YubiKeyPIVAttestation.md +++ b/Docs/Commands/Confirm-YubiKeyPIVAttestation.md @@ -1,9 +1,8 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: Module Name: powershellYK -ms.date: 03-19-2026 PlatyPS schema version: 2024-05-01 --- diff --git a/Docs/Commands/Connect-Yubikey.md b/Docs/Commands/Connect-Yubikey.md index 2cfb2e6..070bdca 100644 --- a/Docs/Commands/Connect-Yubikey.md +++ b/Docs/Commands/Connect-Yubikey.md @@ -1,9 +1,8 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: Module Name: powershellYK -ms.date: 03-19-2026 PlatyPS schema version: 2024-05-01 --- diff --git a/Docs/Commands/Connect-YubikeyFIDO2.md b/Docs/Commands/Connect-YubikeyFIDO2.md index cc32fca..7b4b16f 100644 --- a/Docs/Commands/Connect-YubikeyFIDO2.md +++ b/Docs/Commands/Connect-YubikeyFIDO2.md @@ -1,9 +1,8 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: Module Name: powershellYK -ms.date: 03-19-2026 PlatyPS schema version: 2024-05-01 --- diff --git a/Docs/Commands/Connect-YubikeyOATH.md b/Docs/Commands/Connect-YubikeyOATH.md index 9aaf61d..11e782d 100644 --- a/Docs/Commands/Connect-YubikeyOATH.md +++ b/Docs/Commands/Connect-YubikeyOATH.md @@ -1,9 +1,8 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: Module Name: powershellYK -ms.date: 03-19-2026 PlatyPS schema version: 2024-05-01 --- diff --git a/Docs/Commands/Connect-YubikeyPIV.md b/Docs/Commands/Connect-YubikeyPIV.md index f3f504b..23b78d0 100644 --- a/Docs/Commands/Connect-YubikeyPIV.md +++ b/Docs/Commands/Connect-YubikeyPIV.md @@ -1,9 +1,8 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: Module Name: powershellYK -ms.date: 03-19-2026 PlatyPS schema version: 2024-05-01 --- diff --git a/Docs/Commands/ConvertTo-AltSecurity.md b/Docs/Commands/ConvertTo-AltSecurity.md index e20d0f8..c630c00 100644 --- a/Docs/Commands/ConvertTo-AltSecurity.md +++ b/Docs/Commands/ConvertTo-AltSecurity.md @@ -1,9 +1,8 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: Module Name: powershellYK -ms.date: 03-19-2026 PlatyPS schema version: 2024-05-01 --- diff --git a/Docs/Commands/Disconnect-Yubikey.md b/Docs/Commands/Disconnect-Yubikey.md index fef9550..c49462f 100644 --- a/Docs/Commands/Disconnect-Yubikey.md +++ b/Docs/Commands/Disconnect-Yubikey.md @@ -1,9 +1,8 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: Module Name: powershellYK -ms.date: 03-19-2026 PlatyPS schema version: 2024-05-01 --- diff --git a/Docs/Commands/Enable-YubikeyFIDO2EnterpriseAttestation.md b/Docs/Commands/Enable-YubikeyFIDO2EnterpriseAttestation.md index 64f320f..c920183 100644 --- a/Docs/Commands/Enable-YubikeyFIDO2EnterpriseAttestation.md +++ b/Docs/Commands/Enable-YubikeyFIDO2EnterpriseAttestation.md @@ -1,9 +1,8 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: Module Name: powershellYK -ms.date: 03-19-2026 PlatyPS schema version: 2024-05-01 --- diff --git a/Docs/Commands/Enable-powershellYKSDKLogging.md b/Docs/Commands/Enable-powershellYKSDKLogging.md index d40a529..5938453 100644 --- a/Docs/Commands/Enable-powershellYKSDKLogging.md +++ b/Docs/Commands/Enable-powershellYKSDKLogging.md @@ -1,9 +1,8 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: Module Name: powershellYK -ms.date: 03-19-2026 PlatyPS schema version: 2024-05-01 --- diff --git a/Docs/Commands/Export-YubiKeyFIDO2Blob.md b/Docs/Commands/Export-YubiKeyFIDO2Blob.md index dfefd9a..4b854b6 100644 --- a/Docs/Commands/Export-YubiKeyFIDO2Blob.md +++ b/Docs/Commands/Export-YubiKeyFIDO2Blob.md @@ -4,7 +4,6 @@ external help file: powershellYK.dll-Help.xml HelpUri: '' Locale: en-SE Module Name: powershellYK -ms.date: 03-20-2026 PlatyPS schema version: 2024-05-01 title: Export-YubiKeyFIDO2Blob --- diff --git a/Docs/Commands/Export-YubikeyPIVCertificate.md b/Docs/Commands/Export-YubikeyPIVCertificate.md index 79ded40..8ed7628 100644 --- a/Docs/Commands/Export-YubikeyPIVCertificate.md +++ b/Docs/Commands/Export-YubikeyPIVCertificate.md @@ -1,9 +1,8 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: Module Name: powershellYK -ms.date: 03-19-2026 PlatyPS schema version: 2024-05-01 --- diff --git a/Docs/Commands/Find-Yubikey.md b/Docs/Commands/Find-Yubikey.md index 6322719..77dc00e 100644 --- a/Docs/Commands/Find-Yubikey.md +++ b/Docs/Commands/Find-Yubikey.md @@ -1,9 +1,8 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: Module Name: powershellYK -ms.date: 03-19-2026 PlatyPS schema version: 2024-05-01 --- diff --git a/Docs/Commands/Get-Yubikey.md b/Docs/Commands/Get-Yubikey.md index 801c5bb..1c551c7 100644 --- a/Docs/Commands/Get-Yubikey.md +++ b/Docs/Commands/Get-Yubikey.md @@ -1,9 +1,8 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: Module Name: powershellYK -ms.date: 03-19-2026 PlatyPS schema version: 2024-05-01 --- diff --git a/Docs/Commands/Get-YubikeyBIOFingerprint.md b/Docs/Commands/Get-YubikeyBIOFingerprint.md index 0d9af24..2f10a76 100644 --- a/Docs/Commands/Get-YubikeyBIOFingerprint.md +++ b/Docs/Commands/Get-YubikeyBIOFingerprint.md @@ -1,9 +1,8 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: Module Name: powershellYK -ms.date: 03-19-2026 PlatyPS schema version: 2024-05-01 --- diff --git a/Docs/Commands/Get-YubikeyFIDO2.md b/Docs/Commands/Get-YubikeyFIDO2.md index fdecd0c..1858f61 100644 --- a/Docs/Commands/Get-YubikeyFIDO2.md +++ b/Docs/Commands/Get-YubikeyFIDO2.md @@ -1,9 +1,8 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: Module Name: powershellYK -ms.date: 03-19-2026 PlatyPS schema version: 2024-05-01 --- diff --git a/Docs/Commands/Get-YubikeyFIDO2Credential.md b/Docs/Commands/Get-YubikeyFIDO2Credential.md index fe36595..194b295 100644 --- a/Docs/Commands/Get-YubikeyFIDO2Credential.md +++ b/Docs/Commands/Get-YubikeyFIDO2Credential.md @@ -1,9 +1,8 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: Module Name: powershellYK -ms.date: 03-19-2026 PlatyPS schema version: 2024-05-01 --- diff --git a/Docs/Commands/Get-YubikeyOATH.md b/Docs/Commands/Get-YubikeyOATH.md index 7cd1d7b..05412e3 100644 --- a/Docs/Commands/Get-YubikeyOATH.md +++ b/Docs/Commands/Get-YubikeyOATH.md @@ -1,9 +1,8 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: Module Name: powershellYK -ms.date: 03-19-2026 PlatyPS schema version: 2024-05-01 --- diff --git a/Docs/Commands/Get-YubikeyOATHAccount.md b/Docs/Commands/Get-YubikeyOATHAccount.md index 06a2c7d..1c4ce7c 100644 --- a/Docs/Commands/Get-YubikeyOATHAccount.md +++ b/Docs/Commands/Get-YubikeyOATHAccount.md @@ -1,9 +1,8 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: Module Name: powershellYK -ms.date: 03-19-2026 PlatyPS schema version: 2024-05-01 --- diff --git a/Docs/Commands/Get-YubikeyOTP.md b/Docs/Commands/Get-YubikeyOTP.md index a766eab..e5979be 100644 --- a/Docs/Commands/Get-YubikeyOTP.md +++ b/Docs/Commands/Get-YubikeyOTP.md @@ -1,9 +1,8 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: Module Name: powershellYK -ms.date: 03-19-2026 PlatyPS schema version: 2024-05-01 --- diff --git a/Docs/Commands/Get-YubikeyPIV.md b/Docs/Commands/Get-YubikeyPIV.md index 2c78f21..a62a9de 100644 --- a/Docs/Commands/Get-YubikeyPIV.md +++ b/Docs/Commands/Get-YubikeyPIV.md @@ -1,9 +1,8 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: Module Name: powershellYK -ms.date: 03-19-2026 PlatyPS schema version: 2024-05-01 --- diff --git a/Docs/Commands/Get-powershellYKInfo.md b/Docs/Commands/Get-powershellYKInfo.md index 24d703a..5003fc2 100644 --- a/Docs/Commands/Get-powershellYKInfo.md +++ b/Docs/Commands/Get-powershellYKInfo.md @@ -1,9 +1,8 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: Module Name: powershellYK -ms.date: 03-19-2026 PlatyPS schema version: 2024-05-01 --- diff --git a/Docs/Commands/Import-YubiKeyFIDO2Blob.md b/Docs/Commands/Import-YubiKeyFIDO2Blob.md index b5c60a2..61af4fb 100644 --- a/Docs/Commands/Import-YubiKeyFIDO2Blob.md +++ b/Docs/Commands/Import-YubiKeyFIDO2Blob.md @@ -4,7 +4,6 @@ external help file: powershellYK.dll-Help.xml HelpUri: '' Locale: en-SE Module Name: powershellYK -ms.date: 03-20-2026 PlatyPS schema version: 2024-05-01 title: Import-YubiKeyFIDO2Blob --- @@ -171,4 +170,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## RELATED LINKS -[FIDO2 large blobs ("largeBlobs" option)](https://docs.yubico.com/yesdk/users-manual/application-fido2/large-blobs.html) \ No newline at end of file +[FIDO2 large blobs ("largeBlobs" option)](https://docs.yubico.com/yesdk/users-manual/application-fido2/large-blobs.html) diff --git a/Docs/Commands/Import-YubikeyPIV.md b/Docs/Commands/Import-YubikeyPIV.md index cc5517e..18665b2 100644 --- a/Docs/Commands/Import-YubikeyPIV.md +++ b/Docs/Commands/Import-YubikeyPIV.md @@ -1,9 +1,8 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: Module Name: powershellYK -ms.date: 03-19-2026 PlatyPS schema version: 2024-05-01 --- diff --git a/Docs/Commands/Lock-Yubikey.md b/Docs/Commands/Lock-Yubikey.md index 56eaa10..48082d9 100644 --- a/Docs/Commands/Lock-Yubikey.md +++ b/Docs/Commands/Lock-Yubikey.md @@ -1,9 +1,8 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: Module Name: powershellYK -ms.date: 03-19-2026 PlatyPS schema version: 2024-05-01 --- diff --git a/Docs/Commands/Move-YubikeyPIV.md b/Docs/Commands/Move-YubikeyPIV.md index d6297d9..c33680c 100644 --- a/Docs/Commands/Move-YubikeyPIV.md +++ b/Docs/Commands/Move-YubikeyPIV.md @@ -1,9 +1,8 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: Module Name: powershellYK -ms.date: 03-19-2026 PlatyPS schema version: 2024-05-01 --- diff --git a/Docs/Commands/New-Challenge.md b/Docs/Commands/New-Challenge.md index 8eda0b5..01a400c 100644 --- a/Docs/Commands/New-Challenge.md +++ b/Docs/Commands/New-Challenge.md @@ -4,7 +4,6 @@ external help file: powershellYK.dll-Help.xml HelpUri: '' Locale: en-SE Module Name: powershellYK -ms.date: 03-26-2026 PlatyPS schema version: 2024-05-01 title: New-Challenge --- @@ -33,7 +32,7 @@ Creates a pseudo random challenge to support FIDO2 attestation output (among oth ### Example 1 -´``powershell +�``powershell New-Challenge -OutFile "MyChallenge.bin" -Length 256 ``` Creates a 256-byte challenge and writes it to "MyChallenge.bin" diff --git a/Docs/Commands/New-YubiKeyFIDO2Credential.md b/Docs/Commands/New-YubiKeyFIDO2Credential.md index a898c9b..7fcf71d 100644 --- a/Docs/Commands/New-YubiKeyFIDO2Credential.md +++ b/Docs/Commands/New-YubiKeyFIDO2Credential.md @@ -1,9 +1,8 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: Module Name: powershellYK -ms.date: 03-19-2026 PlatyPS schema version: 2024-05-01 --- diff --git a/Docs/Commands/New-YubikeyOATHAccount.md b/Docs/Commands/New-YubikeyOATHAccount.md index 51f7a5f..1ce3f67 100644 --- a/Docs/Commands/New-YubikeyOATHAccount.md +++ b/Docs/Commands/New-YubikeyOATHAccount.md @@ -1,9 +1,8 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: Module Name: powershellYK -ms.date: 03-19-2026 PlatyPS schema version: 2024-05-01 --- diff --git a/Docs/Commands/New-YubikeyPIVKey.md b/Docs/Commands/New-YubikeyPIVKey.md index c9b963a..dbf41d4 100644 --- a/Docs/Commands/New-YubikeyPIVKey.md +++ b/Docs/Commands/New-YubikeyPIVKey.md @@ -1,9 +1,8 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: Module Name: powershellYK -ms.date: 03-19-2026 PlatyPS schema version: 2024-05-01 --- diff --git a/Docs/Commands/New-YubikeyPIVSelfSign.md b/Docs/Commands/New-YubikeyPIVSelfSign.md index a2bd62d..1077017 100644 --- a/Docs/Commands/New-YubikeyPIVSelfSign.md +++ b/Docs/Commands/New-YubikeyPIVSelfSign.md @@ -1,9 +1,8 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: Module Name: powershellYK -ms.date: 03-19-2026 PlatyPS schema version: 2024-05-01 --- diff --git a/Docs/Commands/Protect-YubiKeyFIDO2File.md b/Docs/Commands/Protect-YubiKeyFIDO2File.md index 6aeedc8..8f84ad4 100644 --- a/Docs/Commands/Protect-YubiKeyFIDO2File.md +++ b/Docs/Commands/Protect-YubiKeyFIDO2File.md @@ -4,7 +4,6 @@ external help file: powershellYK.dll-Help.xml HelpUri: '' Locale: en-SE Module Name: powershellYK -ms.date: 03-26-2026 PlatyPS schema version: 2024-05-01 title: Protect-YubiKeyFIDO2File --- diff --git a/Docs/Commands/Protect-YubikeyOATH.md b/Docs/Commands/Protect-YubikeyOATH.md deleted file mode 100644 index 11284ce..0000000 --- a/Docs/Commands/Protect-YubikeyOATH.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -external help file: powershellYK.dll-Help.xml -Module Name: powershellYK -online version: -schema: 2.0.0 ---- - -# Protect-YubiKeyOATH - -## SYNOPSIS -Set password - -## SYNTAX - -## DESCRIPTION -Set the password for the Yubikey OATH application. - -## EXAMPLES - -### Example 1 -```powershell -PS C:\> Protect-YubikeyOATH -UpdatePassword: ******** -``` - -Secures the OATH application - -## PARAMETERS - -### 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](http://go.microsoft.com/fwlink/?LinkID=113216). - -## INPUTS - -### None - -## OUTPUTS - -### System.Object -## NOTES - -## RELATED LINKS diff --git a/Docs/Commands/Register-YubikeyBIOFingerprint.md b/Docs/Commands/Register-YubikeyBIOFingerprint.md index 6e2ebe0..54f00f5 100644 --- a/Docs/Commands/Register-YubikeyBIOFingerprint.md +++ b/Docs/Commands/Register-YubikeyBIOFingerprint.md @@ -1,9 +1,8 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: Module Name: powershellYK -ms.date: 03-19-2026 PlatyPS schema version: 2024-05-01 --- diff --git a/Docs/Commands/Remove-YubiKeyBIOFingerprint.md b/Docs/Commands/Remove-YubiKeyBIOFingerprint.md index a316350..5a9cb4a 100644 --- a/Docs/Commands/Remove-YubiKeyBIOFingerprint.md +++ b/Docs/Commands/Remove-YubiKeyBIOFingerprint.md @@ -1,9 +1,8 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: Module Name: powershellYK -ms.date: 03-19-2026 PlatyPS schema version: 2024-05-01 --- diff --git a/Docs/Commands/Remove-YubikeyFIDO2Credential.md b/Docs/Commands/Remove-YubikeyFIDO2Credential.md index 9c5c40c..e734449 100644 --- a/Docs/Commands/Remove-YubikeyFIDO2Credential.md +++ b/Docs/Commands/Remove-YubikeyFIDO2Credential.md @@ -1,9 +1,8 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: Module Name: powershellYK -ms.date: 03-19-2026 PlatyPS schema version: 2024-05-01 --- diff --git a/Docs/Commands/Remove-YubikeyOATHAccount.md b/Docs/Commands/Remove-YubikeyOATHAccount.md index 47059f3..99c65f0 100644 --- a/Docs/Commands/Remove-YubikeyOATHAccount.md +++ b/Docs/Commands/Remove-YubikeyOATHAccount.md @@ -1,9 +1,8 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: Module Name: powershellYK -ms.date: 03-19-2026 PlatyPS schema version: 2024-05-01 --- diff --git a/Docs/Commands/Remove-YubikeyOTP.md b/Docs/Commands/Remove-YubikeyOTP.md index 63f22f2..ebc4ed3 100644 --- a/Docs/Commands/Remove-YubikeyOTP.md +++ b/Docs/Commands/Remove-YubikeyOTP.md @@ -1,9 +1,8 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: Module Name: powershellYK -ms.date: 03-19-2026 PlatyPS schema version: 2024-05-01 --- diff --git a/Docs/Commands/Remove-YubikeyPIVKey.md b/Docs/Commands/Remove-YubikeyPIVKey.md index 5ae183a..16d924d 100644 --- a/Docs/Commands/Remove-YubikeyPIVKey.md +++ b/Docs/Commands/Remove-YubikeyPIVKey.md @@ -1,9 +1,8 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: Module Name: powershellYK -ms.date: 03-19-2026 PlatyPS schema version: 2024-05-01 --- diff --git a/Docs/Commands/Rename-YubikeyBIOFingerprint.md b/Docs/Commands/Rename-YubikeyBIOFingerprint.md index b01fce9..b734beb 100644 --- a/Docs/Commands/Rename-YubikeyBIOFingerprint.md +++ b/Docs/Commands/Rename-YubikeyBIOFingerprint.md @@ -1,9 +1,8 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: Module Name: powershellYK -ms.date: 03-19-2026 PlatyPS schema version: 2024-05-01 --- diff --git a/Docs/Commands/Rename-YubikeyOATHAccount.md b/Docs/Commands/Rename-YubikeyOATHAccount.md index 8f29722..5bd2fb0 100644 --- a/Docs/Commands/Rename-YubikeyOATHAccount.md +++ b/Docs/Commands/Rename-YubikeyOATHAccount.md @@ -1,9 +1,8 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: Module Name: powershellYK -ms.date: 03-19-2026 PlatyPS schema version: 2024-05-01 --- diff --git a/Docs/Commands/Request-YubikeyOATHCode.md b/Docs/Commands/Request-YubikeyOATHCode.md index ede9c39..5a6332c 100644 --- a/Docs/Commands/Request-YubikeyOATHCode.md +++ b/Docs/Commands/Request-YubikeyOATHCode.md @@ -1,9 +1,8 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: Module Name: powershellYK -ms.date: 03-19-2026 PlatyPS schema version: 2024-05-01 --- diff --git a/Docs/Commands/Request-YubikeyOTPChallange.md b/Docs/Commands/Request-YubikeyOTPChallange.md index 20d9fd2..02aabfc 100644 --- a/Docs/Commands/Request-YubikeyOTPChallange.md +++ b/Docs/Commands/Request-YubikeyOTPChallange.md @@ -1,9 +1,8 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: Module Name: powershellYK -ms.date: 03-19-2026 PlatyPS schema version: 2024-05-01 --- diff --git a/Docs/Commands/Reset-YubiKeyBioMPE.md b/Docs/Commands/Reset-YubiKeyBioMPE.md index 1d852f3..4d97f19 100644 --- a/Docs/Commands/Reset-YubiKeyBioMPE.md +++ b/Docs/Commands/Reset-YubiKeyBioMPE.md @@ -1,9 +1,8 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: Module Name: powershellYK -ms.date: 03-19-2026 PlatyPS schema version: 2024-05-01 --- diff --git a/Docs/Commands/Reset-YubikeyFIDO2.md b/Docs/Commands/Reset-YubikeyFIDO2.md index e2f6499..88f0b65 100644 --- a/Docs/Commands/Reset-YubikeyFIDO2.md +++ b/Docs/Commands/Reset-YubikeyFIDO2.md @@ -1,9 +1,8 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: Module Name: powershellYK -ms.date: 03-19-2026 PlatyPS schema version: 2024-05-01 --- diff --git a/Docs/Commands/Reset-YubikeyOATH.md b/Docs/Commands/Reset-YubikeyOATH.md index e066cec..b935094 100644 --- a/Docs/Commands/Reset-YubikeyOATH.md +++ b/Docs/Commands/Reset-YubikeyOATH.md @@ -1,9 +1,8 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: Module Name: powershellYK -ms.date: 03-19-2026 PlatyPS schema version: 2024-05-01 --- diff --git a/Docs/Commands/Reset-YubikeyPIV.md b/Docs/Commands/Reset-YubikeyPIV.md index de83a87..2fb5d15 100644 --- a/Docs/Commands/Reset-YubikeyPIV.md +++ b/Docs/Commands/Reset-YubikeyPIV.md @@ -1,9 +1,8 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: Module Name: powershellYK -ms.date: 03-19-2026 PlatyPS schema version: 2024-05-01 --- diff --git a/Docs/Commands/Set-YubiKeyOATHPassword.md b/Docs/Commands/Set-YubiKeyOATHPassword.md index 3ffb5c9..39307c4 100644 --- a/Docs/Commands/Set-YubiKeyOATHPassword.md +++ b/Docs/Commands/Set-YubiKeyOATHPassword.md @@ -1,9 +1,8 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: Module Name: powershellYK -ms.date: 03-19-2026 PlatyPS schema version: 2024-05-01 --- diff --git a/Docs/Commands/Set-YubiKeyOTPSlotAccessCode.md b/Docs/Commands/Set-YubiKeyOTPSlotAccessCode.md index fa856aa..9c04a9a 100644 --- a/Docs/Commands/Set-YubiKeyOTPSlotAccessCode.md +++ b/Docs/Commands/Set-YubiKeyOTPSlotAccessCode.md @@ -1,9 +1,8 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: Module Name: powershellYK -ms.date: 03-19-2026 PlatyPS schema version: 2024-05-01 --- diff --git a/Docs/Commands/Set-Yubikey.md b/Docs/Commands/Set-Yubikey.md index b2c8a08..0f4ff1f 100644 --- a/Docs/Commands/Set-Yubikey.md +++ b/Docs/Commands/Set-Yubikey.md @@ -1,9 +1,8 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: Module Name: powershellYK -ms.date: 03-19-2026 PlatyPS schema version: 2024-05-01 --- diff --git a/Docs/Commands/Set-YubikeyFIDO2.md b/Docs/Commands/Set-YubikeyFIDO2.md index 309f1bd..da48d95 100644 --- a/Docs/Commands/Set-YubikeyFIDO2.md +++ b/Docs/Commands/Set-YubikeyFIDO2.md @@ -1,9 +1,8 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: Module Name: powershellYK -ms.date: 03-19-2026 PlatyPS schema version: 2024-05-01 --- diff --git a/Docs/Commands/Set-YubikeyFIDO2PIN.md b/Docs/Commands/Set-YubikeyFIDO2PIN.md index edf20cb..915ca4b 100644 --- a/Docs/Commands/Set-YubikeyFIDO2PIN.md +++ b/Docs/Commands/Set-YubikeyFIDO2PIN.md @@ -1,9 +1,8 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: Module Name: powershellYK -ms.date: 03-19-2026 PlatyPS schema version: 2024-05-01 --- diff --git a/Docs/Commands/Set-YubikeyOTP.md b/Docs/Commands/Set-YubikeyOTP.md index 921e69c..5e39e64 100644 --- a/Docs/Commands/Set-YubikeyOTP.md +++ b/Docs/Commands/Set-YubikeyOTP.md @@ -1,9 +1,8 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: Module Name: powershellYK -ms.date: 03-19-2026 PlatyPS schema version: 2024-05-01 --- diff --git a/Docs/Commands/Set-YubikeyPIV.md b/Docs/Commands/Set-YubikeyPIV.md index e1052b2..165d023 100644 --- a/Docs/Commands/Set-YubikeyPIV.md +++ b/Docs/Commands/Set-YubikeyPIV.md @@ -1,9 +1,8 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: Module Name: powershellYK -ms.date: 03-19-2026 PlatyPS schema version: 2024-05-01 --- diff --git a/Docs/Commands/Switch-YubikeyOTP.md b/Docs/Commands/Switch-YubikeyOTP.md index 9520b14..e13b15e 100644 --- a/Docs/Commands/Switch-YubikeyOTP.md +++ b/Docs/Commands/Switch-YubikeyOTP.md @@ -1,9 +1,8 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: Module Name: powershellYK -ms.date: 03-19-2026 PlatyPS schema version: 2024-05-01 --- diff --git a/Docs/Commands/Unblock-YubikeyPIV.md b/Docs/Commands/Unblock-YubikeyPIV.md index 377675b..8d85df9 100644 --- a/Docs/Commands/Unblock-YubikeyPIV.md +++ b/Docs/Commands/Unblock-YubikeyPIV.md @@ -1,9 +1,8 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: Module Name: powershellYK -ms.date: 03-19-2026 PlatyPS schema version: 2024-05-01 --- diff --git a/Docs/Commands/Unlock-Yubikey.md b/Docs/Commands/Unlock-Yubikey.md index 006b654..fb6cb54 100644 --- a/Docs/Commands/Unlock-Yubikey.md +++ b/Docs/Commands/Unlock-Yubikey.md @@ -1,9 +1,8 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: Module Name: powershellYK -ms.date: 03-19-2026 PlatyPS schema version: 2024-05-01 --- diff --git a/Docs/Commands/Unprotect-YubiKeyFIDO2File.md b/Docs/Commands/Unprotect-YubiKeyFIDO2File.md index 045812f..91c32fa 100644 --- a/Docs/Commands/Unprotect-YubiKeyFIDO2File.md +++ b/Docs/Commands/Unprotect-YubiKeyFIDO2File.md @@ -4,7 +4,6 @@ external help file: powershellYK.dll-Help.xml HelpUri: '' Locale: en-SE Module Name: powershellYK -ms.date: 03-26-2026 PlatyPS schema version: 2024-05-01 title: Unprotect-YubiKeyFIDO2File --- diff --git a/Docs/Commands/Unprotect-YubikeyOATH.md b/Docs/Commands/Unprotect-YubikeyOATH.md index 7184d50..a638c37 100644 --- a/Docs/Commands/Unprotect-YubikeyOATH.md +++ b/Docs/Commands/Unprotect-YubikeyOATH.md @@ -1,9 +1,8 @@ ---- +--- document type: cmdlet external help file: powershellYK.dll-Help.xml HelpUri: Module Name: powershellYK -ms.date: 03-19-2026 PlatyPS schema version: 2024-05-01 --- diff --git a/Docs/Commands/powershellYK.md b/Docs/Commands/powershellYK.md index dce173b..3e3fff0 100644 --- a/Docs/Commands/powershellYK.md +++ b/Docs/Commands/powershellYK.md @@ -5,7 +5,6 @@ HelpInfoUri: '' Locale: en-US Module Guid: d947dd9b-87eb-49ea-a373-b91c7acc0917 Module Name: powershellYK -ms.date: 03-27-2026 PlatyPS schema version: 2024-05-01 System.Collections.Generic.Dictionary`2[System.Object,System.Object]: '' --- diff --git a/build.ps1 b/build.ps1 index 1dbcef5..c041603 100644 --- a/build.ps1 +++ b/build.ps1 @@ -46,7 +46,24 @@ Measure-PlatyPSMarkdown -Path ./docs/Commands/*.md | Move-Item "$($Directory.fullname)\powershellYK\powershellYK.dll-help.xml" "$($Directory.fullname)\en-US\powershellYK.dll-help.xml" Remove-Item "$($Directory.fullname)\powershellYK" +#Remove ms.date from all files.. + +Get-ChildItem "Docs\Commands" -Recurse -File | + ForEach-Object { + (Get-Content $_.FullName) | + Where-Object { $_ -notmatch '^ms\.date:' } | + Set-Content $_.FullName + } + +<# +$newMarkdownCommandHelpSplat = @{ + ModuleInfo = Get-Module -Name 'powershellYK' + OutputFolder = './docs/commands' + WithModulePage = $false +} +New-MarkdownCommandHelp @newMarkdownCommandHelpSplat +#> Import-Module Pester $configuration = [PesterConfiguration]::Default