I am trying to encrypt Data volume (for example E:) with the following command:
manage-bde -protectors -add E: -pw
When I execute the above command, it will ask for the password, so I entered it. It is successfully encrypting my data volume. Now, I want to make a script to encrypt a data volume, so I need to pass the password as an argument to the above powershell command.
How can I do that? Is there any option of passing the password for manage-bde command?