elKastr0nom wrote:
Yes, Each machine can have a different EncryptionMethod ( https://docs.microsoft.com/en-us/windows/win32/secprov/getencryptionmethod-win32-encryptablevolume) and I need to report on that.
Write it as a registry key and query the key?
$encryptionMethod = Get-BitLockerVolume -MountPoint C | select EncryptionMethod -ExpandProperty EncryptionMethod
$regKeyLocation = 'MyOrgKeys'
New-Item -Path "HKLM:\Software\" -Name $regkeyLocation
New-ItemProperty -Path HKLM:\Software\$regkeyLocation -Name EncryptionMethod -Value $encryptionMethod -PropertyType String