Created
April 12, 2018 15:47
-
-
Save danjpadgett/5a942e87801a81b209df0ca54c95c3bd to your computer and use it in GitHub Desktop.
MBAM Scripts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Unlock | |
$SecureString = ConvertTo-SecureString "xxxxxx" -AsPlainText -Force | |
Unlock-BitLocker -MountPoint "D:" -Password $SecureString | |
EncryptD | |
.\manage-bde.exe -protectors -enable d: | |
$secure = ConvertTo-SecureString "xxxxxx" -AsPlainText -Force | |
Add-BitLockerKeyProtector -MountPoint "d:" -PasswordProtector $secure | |
Resume-BitLocker -MountPoint "D:" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment