Advertisement
Guest User

Untitled

a guest
Jul 6th, 2018
271
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $CompName = $env:computername
  2. $recoverykey = "Bitlocker Recovery Key-" + $CompName
  3. (Get-BitLockerVolume -MountPoint C).KeyProtector.recoverypassword > "\\server\folder\$recoverykey.txt"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement