Thanks for the tip. I’ll probably modify the script in the future.
The only drawback is that this works only with PowerShell 4 and windows 8.1. I’m a fan of WMI and CIM, but use Commandlets if available.
For example SCCM Commandlets are dead slow in comparison with CIM methods…
Take a look at this for more info on using WMI with Bitlocker: