长时间潜伏者第一次发帖。在很长一段时间没有使用PowerShell之后,我又开始涉猎它了。我目前正在尝试编写一个脚本来启用Bitlocker,并将恢复密钥备份到桌面。我发现它可以很好地启用Bitlocker,但是桌面上的恢复密钥没有显示恢复密钥?以下是目前为止的脚本:
#Test Registry paths before trying to modify
Test-Path HKLM:\SOFTWARE\Policies\Microsoft\FVE
#Change Registry keys to allow BitLocker without TPM and with additiona