MyBitLocker
OSD 21.2.10.1+
MyBitLocker Functions require the BitLocker PowerShell Module and RunAsAdministrator. WinPE is supported by adding the OSD and the BitLocker PowerShell Modules
1
PS C:\> Get-Command *MyBitLocker*
2
3
CommandType Name Version Source
4
----------- ---- ------- ------
5
Function Backup-MyBitLockerKeys 21.2.10.1 OSD
6
Function Get-MyBitLockerKeyProtectors 21.2.10.1 OSD
7
Function Save-MyBitLockerExternalKey 21.2.10.1 OSD
8
Function Save-MyBitLockerKeyPackage 21.2.10.1 OSD
9
Function Save-MyBitLockerRecoveryPassword 21.2.10.1 OSD
10
Function Unlock-MyBitLockerExternalKey 21.2.10.1 OSD
Copied!

Get-Help -Full

All the details on how to use the functions are in Get-Help -Full
1
Get-Help -Full Backup-MyBitLockerKeys
2
Get-Help -Full Get-MyBitLockerKeyProtectors
3
Get-Help -Full Save-MyBitLockerExternalKey
4
Get-Help -Full Save-MyBitLockerKeyPackage
5
Get-Help -Full Save-MyBitLockerRecoveryPassword
6
Get-Help -Full Unlock-MyBitLockerExternalKey
Copied!
1
PS C:\> Get-Help -Full Backup-MyBitLockerKeys
2
3
NAME
4
Backup-MyBitLockerKeys
5
6
SYNOPSIS
7
Saves all BitLocker ExternalKeys (BEK), KeyPackages (KPG), and RecoveryPasswords (TXT)
8
9
10
SYNTAX
11
Backup-MyBitLockerKeys [-Path] <String[]> [<CommonParameters>]
12
13
14
DESCRIPTION
15
Saves all BitLocker ExternalKeys (BEK), KeyPackages (KPG), and RecoveryPasswords (TXT) to a Directory (Path)
16
17
18
PARAMETERS
19
-Path <String[]>
20
Directory to save the BitLocker Keys. This directory will be created if it does not exist
21
22
Required? true
23
Position? 1
24
Default value
25
Accept pipeline input? true (ByPropertyName)
26
Accept wildcard characters? false
27
28
<CommonParameters>
29
This cmdlet supports the common parameters: Verbose, Debug,
30
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
31
OutBuffer, PipelineVariable, and OutVariable. For more information, see
32
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
33
34
INPUTS
35
36
OUTPUTS
37
38
NOTES
39
40
41
Requires Administrative Rights
42
Requires BitLocker Module | Get-BitLockerVolume
43
21.2.10 Initial Release
44
45
46
RELATED LINKS
47
https://osd.osdeploy.com/module/mybitlocker/backup-mybitlockerkeys
Copied!

Get-Help -Online

The -Online parameter will open these function links in your browser
1
Get-Help -Online Backup-MyBitLockerKeys
2
Get-Help -Online Get-MyBitLockerKeyProtectors
3
Get-Help -Online Save-MyBitLockerExternalKey
4
Get-Help -Online Save-MyBitLockerKeyPackage
5
Get-Help -Online Save-MyBitLockerRecoveryPassword
6
Get-Help -Online Unlock-MyBitLockerExternalKey
Copied!

WinPE Installation

1
Copy-PSModuleToWim -ImagePath <Path to WIM> -ExecutionPolicy Bypass -Name OSD, BitLocker
Copied!
Last modified 11mo ago