This script will check if BitLocker is currently in an active state, and if so it will run the Suspend-BitLocker cmdlet.
# Author: Harry Caskey
# Gather System Information
$bitLockerDrive = Get-Wmiobject -Namespace root\CIMv2\Security\MicrosoftVolumeEncryption -Class Win32_EncryptableVolume -ComputerName $env:COMPUTERNAME -Filter "DriveLetter='C:'"
# If BitLocker is enabled, suspend for 3 reboots...
# NOTE: Conversion Status Codes
# 0 - FullyDecrypted || 1 - FullyEncrypted || 2 - EncryptionInProgress
# 3 - DecryptionInProgress || 4 - EncryptionPaused || 5 - DecryptionPaused
$bitLockerStatus = $bitLockerDrive.ConversionStatus
if ($bitLockerStatus -ne 0) {Suspend-BitLocker -MountPoint "C:" -RebootCount 2}