Hi,
I'd like to script something in powershell, that would allow the computer to reboot after finishing the encryption with Bitlocker.
The problem I got is, by forcing the reboot, it prevent the encryption from finishing, and I got an error. And, if I don't force the reboot with the "-force" command, the computer just ignore the "Restart-Computer" command.
I'd like something like : "if the encryption level is as 100%, then the computer will reboot". I'd be able to force the restart of the computer when the encryption is done then.
But I'm kinda new to powershell, and don't really know how to do that.
Thanks for your help !