This script is to encrypt drive in Bitlocker
please provide following details in the script
Drive="D:" ##Enter the Drive you want to encrypt
save="C:" ##Enter the Drive you want to save the recovery key
The Recovery key will be Sent to Email
You cannot decrypt the drive without using the Recovery key.
Run as system user