Overblog
Editer l'article Suivre ce blog Administration + Créer mon blog

[Bitlocker] Use PowerShell to get the recovery key

Publié le par damcuvelier

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