Dears,
I am writing a powershell script to detect which computer has the system volume partially encrypted.
With “manage-bde –status c:” I get the “Conversion Status” field with the value: “Used Space Only Encrypted”
With “Get-BitLockerVolume” can’t get this “Conversion Status” field…
Only found this solution (old fashion way) but don’t like it:
[bool](manage-bde -status $ENV:SystemDrive | Select-String "Used Space Only Encrypted").Count
True = Used Space Only Encryption
Reading the “GetConversionStatus method of the Win32_EncryptableVolume class” I couldn’t found the correct value
https://learn.microsoft.com/en-us/windows/win32/secprov/getconversionstatus-win32-encryptablevolume
Neither in the “GetEncryptionMethod method of the Win32_EncryptableVolume class”, where give the same value for fully or partial encryption
https://learn.microsoft.com/en-us/windows/win32/secprov/getencryptionmethod-win32-encryptablevolume
Does anyone know how to get the “Conversion Status” value from “manage-bde” in powershell (I need the object, not just text string)?
Many thanks for your time!