An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
Hello SteveWakefield
Yes, you can use the next script to retrieve the recovery key programatedly:
$BitlockerVolumers = Get-BitLockerVolume
$BitlockerVolumers |
ForEach-Object {
$MountPoint = $_.MountPoint
$RecoveryKey = string.RecoveryPassword
if ($RecoveryKey.Length -gt 5) {
Write-Output ("The drive $MountPoint has a recovery key $RecoveryKey.")
}
}
Hope this helps with your query,
--If the reply is helpful, please Upvote and Accept as answer--