!new! | View Bitlocker Recovery Key In Ad

# Import the Active Directory module Import-Module ActiveDirectory $ComputerName = "WS-00123" Get the computer object $Computer = Get-ADComputer -Identity $ComputerName -Properties msFVE-RecoveryInformation Retrieve all recovery keys for that computer $Computer.msFVE-RecoveryInformation | ForEach-Object $RecoveryBlob = [System.Text.Encoding]::ASCII.GetString($_) # Parse the blob (contains GUID and recovery password) Write-Output $RecoveryBlob

To output only the 48-digit password and its GUID in a cleaner format: view bitlocker recovery key in ad

Open an console with AD module loaded: