LogoLogo
OSDeploy.comTwitterGitHubPowerShell Gallery
  • OSD PowerShell Module
  • Functions
  • Docs
    • OSDCloud
    • OSDPad
    • OSDHelp
      • Autopilot
    • Guides
      • UEFI System Firmware Update
      • In Your Code
      • New-OSDBoot.usb
      • Partitions
        • New-OSDDisk (Information)
        • New-OSDDiskWinPE (GPT)
        • New-OSDDiskWinPE (2 Disks)
        • AutoUnattend.xml
    • OSDWindowsImage
    • Windows Setup Environment
      • Execution Policy
      • WinSE Settings
      • Import Modules
      • Automation
    • Release Notes
    • Trash
      • Adk
        • Edit-ADKwinpe.wim
        • Get-ADKpaths
        • New-ADK.iso
        • New-ADKcopype
      • Appx
      • Block
      • CloudDriver
      • Dell
        • Get-DellCatalogPC
        • Get-MyDellBIOS
        • Update-MyDellBios
      • Disk
        • Backup-Disk.ffu
        • Clear-LocalDisk
        • Clear-USBDisk
        • Get-LocalDisk
        • Get-OSDDisk
        • Get-USBDisk
        • New-OSDisk
          • Old Version
            • Sandbox
            • Partition Layout
            • Partition Sizes
            • Volume Labels
            • AutoUnattend.xml
        • Get-USBVolume
      • Dism
        • Get-MyWindowsCapability
        • Get-MyWindowsPackage
        • Set-WimExecutionPolicy
        • Set-WindowsImageExecutionPolicy
      • Display
        • Get-VidConRes
      • Driver
        • Get-OSDDriverWmiQ
        • Get-OSDDriver
      • General
        • Get-OSD
        • Get-OSDClass
        • Get-OSDGather
        • Get-OSDPower
        • Get-RegCurrentVersion
        • Get-SessionsXml
        • Save-OSDDownload
      • MyBitLocker
        • Get-MyBitLockerKeyProtectors
        • Backup-MyBitLocker
        • Save-MyBitLockerExternalKey
        • Save-MyBitLockerKeyPackage
        • Save-MyBitLockerRecoveryPassword
        • Unlock-MyBitLockerExternalKey
      • OOBE
      • PSModule
        • Copy-PSModuleToFolder
        • Copy-PSModuleToWim
        • Copy-PSModuleToWindowsImage
      • WebConnection
      • WebPSScript
      • WinPEWim
      • WinPE
        • Enable-PEWimPSGallery
        • Get-OSDWinPE
Powered by GitBook
On this page
  • Get-Help -Full
  • Get-Help -Online
  • WinPE Installation

Was this helpful?

  1. Docs
  2. Trash

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

PS C:\> Get-Command *MyBitLocker*

CommandType     Name                                               Version    Source                                                               
-----------     ----                                               -------    ------                                                               
Function        Backup-MyBitLockerKeys                             21.2.10.1  OSD                                                                  
Function        Get-MyBitLockerKeyProtectors                       21.2.10.1  OSD                                                                  
Function        Save-MyBitLockerExternalKey                        21.2.10.1  OSD                                                                  
Function        Save-MyBitLockerKeyPackage                         21.2.10.1  OSD                                                                  
Function        Save-MyBitLockerRecoveryPassword                   21.2.10.1  OSD                                                                  
Function        Unlock-MyBitLockerExternalKey                      21.2.10.1  OSD  

Get-Help -Full

All the details on how to use the functions are in Get-Help -Full

Get-Help -Full Backup-MyBitLockerKeys
Get-Help -Full Get-MyBitLockerKeyProtectors
Get-Help -Full Save-MyBitLockerExternalKey
Get-Help -Full Save-MyBitLockerKeyPackage
Get-Help -Full Save-MyBitLockerRecoveryPassword
Get-Help -Full Unlock-MyBitLockerExternalKey
PS C:\> Get-Help -Full Backup-MyBitLockerKeys

NAME
    Backup-MyBitLockerKeys
    
SYNOPSIS
    Saves all BitLocker ExternalKeys (BEK), KeyPackages (KPG), and RecoveryPasswords (TXT)
    
    
SYNTAX
    Backup-MyBitLockerKeys [-Path] <String[]> [<CommonParameters>]
    
    
DESCRIPTION
    Saves all BitLocker ExternalKeys (BEK), KeyPackages (KPG), and RecoveryPasswords (TXT) to a Directory (Path)
    

PARAMETERS
    -Path <String[]>
        Directory to save the BitLocker Keys.  This directory will be created if it does not exist
        
        Required?                    true
        Position?                    1
        Default value                
        Accept pipeline input?       true (ByPropertyName)
        Accept wildcard characters?  false
        
    <CommonParameters>
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216). 
    
INPUTS
    
OUTPUTS
    
NOTES
    
    
        Requires Administrative Rights
        Requires BitLocker Module | Get-BitLockerVolume
        21.2.10  Initial Release
    
    
RELATED LINKS
    https://osd.osdeploy.com/module/mybitlocker/backup-mybitlockerkeys

Get-Help -Online

The -Online parameter will open these function links in your browser

Get-Help -Online Backup-MyBitLockerKeys
Get-Help -Online Get-MyBitLockerKeyProtectors
Get-Help -Online Save-MyBitLockerExternalKey
Get-Help -Online Save-MyBitLockerKeyPackage
Get-Help -Online Save-MyBitLockerRecoveryPassword
Get-Help -Online Unlock-MyBitLockerExternalKey

WinPE Installation

Copy-PSModuleToWim -ImagePath <Path to WIM> -ExecutionPolicy Bypass -Name OSD, BitLocker
PreviousSave-OSDDownloadNextGet-MyBitLockerKeyProtectors

Last updated 4 years ago

Was this helpful?