Dec 22, 2019 Option Two: 1. Open an elevated PowerShell. Type the command below into the elevated PowerShell, and press Enter. (see screenshot below). Your BitLocker recovery key for the drive will now be saved to a BitLockerRecoverKey.txt file created on your desktop. You can move this file to. PowerShell: Automate the backup your BitLocker Recovery Information to Azure Active Directory (AzureAD) For a project, a customer want to move all remote workers from domain joined to AzureAD joined.
-->
SyntaxDescription
The Unlock-BitLocker cmdlet restores access to encrypted data on a volume that uses BitLocker Drive Encryption.You can use the Lock-BitLocker cmdlet to prevent access.
In order to restore access, provide one of the following key protectors for the volume:
For an overview of BitLocker, see BitLocker Drive Encryption Overview on TechNet.
Bitlocker Key PowershellExamples
Example 1: Unlock a volume
This example unlocks a specified BitLocker volume by using a password.
![]()
The first command uses the ConvertTo-SecureString cmdlet to create a secure string that contains a password and saves it in the $SecureString variable.For more information about the ConvertTo-SecureString cmdlet, type
Get-Help ConvertTo-SecureString .
The second command unlocks the specified BitLocker volume by using the password saved in the $SecureString variable.
Parameters
-AdAccountOrGroup
Indicates that BitLocker requires account credentials to unlock the volume.In order to use this parameter, the account for the current user must be a key protector for the volume.
Prompts you for confirmation before running the cmdlet.
Specifies an array of drive letters or BitLocker volume objects.The cmdlet unlocks the volumes specified.To obtain a BitLocker volume object, use the Get-BitLockerVolume cmdlet.
Specifies a secure string that contains a password.The password specified acts as a protector for the volume encryption key.
Rsa key pair generation time. Specifies the path to a folder where recovery keys are stored.The key stored in the specified path, if found, acts as a protector for the volume encryption.
Specifies a recovery password.The password specified acts as a protector for the volume encryption key.
Shows what would happen if the cmdlet runs.The cmdlet is not run.
Inputs
BitLockerVolume[], String[]
Outputs
BitLockerVolume[]
Where Do I Find My Recovery KeyRelated LinksComments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2020
Categories |