[Bitlocker] Use PowerShell to get the recovery key
Get-BitLockerVolume |
ForEach-Object {
$MountPoint = $_.MountPoint
$RecoveryKey = [string]($_.KeyProtector).RecoveryPassword
if ($RecoveryKey.Length -gt 5) {
Write-Output ("$MountPoint recovery key is $RecoveryKey.")
}
}
Commenter cet article