Skip to content
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

Open
steve-prentice opened this issue Dec 2, 2019 · 0 comments
Open

Enable-Bitlocker.ps1 #3

steve-prentice opened this issue Dec 2, 2019 · 0 comments

Comments

@steve-prentice
Copy link

steve-prentice commented Dec 2, 2019

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".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant