Unprotect-BitLockerVolume
Description
Disable BitLocker protection on one (or all) volumes.
Requirements
PowerShell v5
Usage
The script will validate that the volume(s) is/are ready for decryption and then run the Disable-BitLocker cmdlet against the target volumes.
Disables BitLocker protection on the C: volume.
.\Unprotect-BitLockerVolume.ps1 -MountPoint "C:"
Disables BitLocker protection on all volumes.
.\Unprotect-BitLockerVolume.ps1 -All
Parameters
| Parameter | Required | Default | Type | Description | 
|---|---|---|---|---|
| MountPoint | True | String | The target volume to remove BitLocker protection from. | |
| All | True | Switch | Use this switch to remove BitLocker protection from all volumes. | 
Output
- .\Unprotect-BitLockerVolume-log.txt
- .\Unprotect-BitLockerVolume-data.txt
- .\Unprotect-BitLockerVolume-error.txt