Skip to content

Instantly share code, notes, and snippets.

@mczerniawski
Created September 4, 2018 10:36
Show Gist options
  • Save mczerniawski/1cb3e68370a65e12b43ffc6e0d767e7e to your computer and use it in GitHub Desktop.
Save mczerniawski/1cb3e68370a65e12b43ffc6e0d767e7e to your computer and use it in GitHub Desktop.
$BitLockerVolumes = Get-BitLockerVolume
foreach ($blv in $BitLockerVolumes) {
Backup-BitLockerKeyProtector -MountPoint $blv.MountPoint -KeyProtectorId (($blv.KeyProtector)[1] | Select-Object -ExpandProperty KeyProtectorID)
}
ComputerName: NBMCZERNIAWSKI2
VolumeType Mount CapacityGB VolumeStatus Encryption KeyProtector AutoUnlock Protection
Point Percentage Enabled Status
---------- ----- ---------- ------------ ---------- ------------ ---------- ----------
OperatingSystem C: 236.22 FullyEncrypted 100 {Tpm, RecoveryPassword} On
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment