How to Save Bitlocker Keys

Here is a simple script to help you save all your bitlockers keys easily.

$blvs = Get-BitLockerVolume | Where-Object {$_.MountPoint -match "[A-Z]:"}
foreach ($blv in $blvs)
{
    $id = $blv.KeyProtector | Where-Object { $_.KeyProtectorType -match "RecoveryPassword" }
    echo "Backuping ... $($blv.MountPoint) - $($id[0].KeyProtectorId)"
    Backup-BitLockerKeyProtector -MountPoint $blv.MountPoint -KeyProtectorId $id[0].KeyProtectorId
}

 

Download backup_bitlocker_ad.ps1.