-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable-Bitlocker.ps1 #3
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Line 52:
$bdeProtect = Get-BitLockerVolume $OSDrive | Select-Object -Property VolumeStatus
Should have KeyProtector property added otherwise the -lt statements beneath it fail. i.e. this:
$bdeProtect = Get-BitLockerVolume $OSDrive | Select-Object -Property VolumeStatus,KeyProtector
Also, my drive is fully encrypted and has a key, with the logic at the moment it ends up having this run against it:
manage-bde -on $OSDrive -UsedSpaceOnly
which doesn't do anything (because it's already encrypted), it'd be nice not to do that at all though, it's not in a "Wait State".
The text was updated successfully, but these errors were encountered: