Type the first 8 characters of the into the search box and click Search .
$recoveryID = "12345678" # First 8 digits from user's screen Get-ADObject -Filter "objectClass -eq 'msFVE-RecoveryInformation'" -Properties msFVE-RecoveryPassword | Where-Object $_.Name -like "*$recoveryID*" | Select-Object Name, msFVE-RecoveryPassword how to find bitlocker recovery key in active directory
DistinguishedName : CN=2023-10-25T14:30:00-05:00B1B2B3B4-B5B6-B7B8-B9B0-B1B2B3B4B5B6,CN=LAPTOP-01,OU=Workstations,DC=contoso,DC=com msFVE-RecoveryPassword : 123456-789012-345678-901234-567890-123456-789012-345678 Name : 2023-10-25T14:30:00-05:00B1B2B3B4-B5B6-B7B8-B9B0-B1B2B3B4B5B6 ObjectClass : msFVE-RecoveryInformation Type the first 8 characters of the into