12 September 2021

Get computers with AD BitLocker recovery key

PowerShell to get machines with a BitLocker recovery key stored in AD:

Get-ADObject -Filter {objectclass -eq 'msFVE-RecoveryInformation'} -SearchBase "OU=Workstations,DC=domain,DC=local" -Properties 'msFVE-RecoveryPassword' |ft DistinguishedName

No comments:

Post a Comment