{"id":288,"date":"2023-03-17T16:20:34","date_gmt":"2023-03-17T16:20:34","guid":{"rendered":"https:\/\/www.digitalsaviour.co.uk\/blog\/?p=288"},"modified":"2023-03-17T16:21:27","modified_gmt":"2023-03-17T16:21:27","slug":"288","status":"publish","type":"post","link":"https:\/\/www.digitalsaviour.co.uk\/blog\/2023\/03\/17\/288\/","title":{"rendered":"How to Use PowerShell and BitLocker for Drive Encryption"},"content":{"rendered":"<body>\n<h1 class=\"wp-block-heading\">What is it?<\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">BitLocker is a feature of Windows that allows you to encrypt your hard drives or removable media, such as USB flash drives, to protect your data from unauthorized access. BitLocker uses a key protector to encrypt the volume encryption key, which in turn encrypts the data on the volume. There are different types of key protectors, such as TPM (Trusted Platform Module), password, recovery password, startup key, PIN and more.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">PowerShell is a powerful scripting language that can help you automate tasks and manage systems. You can use PowerShell to interact with BitLocker and perform various operations, such as enabling or disabling encryption, adding or removing key protectors, checking encryption status and more.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this blog post, we will show you how to use PowerShell and BitLocker for drive encryption. We will assume that you have PowerShell installed on your computer and that you have administrator privileges.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Enabling BitLocker Encryption<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To enable BitLocker encryption for a volume, you need to use the <code>Enable-BitLocker<\/code> cmdlet from the <code>BitLocker<\/code> module. This cmdlet requires a volume identifier (such as a drive letter or a BitLocker volume object) and a key protector type. You can also specify other parameters, such as encryption method (AES 128-bit or AES 256-bit), hardware encryption (if supported by your device), used space only (to encrypt only the used space on the volume) and more.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example, to enable BitLocker encryption for drive C: using TPM as the key protector, you can use this command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Enable-Bitlocker -MountPoint C: -TpmProtector<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This command will start the encryption process in the background and return an object with information about the encrypted volume.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To enable BitLocker encryption for drive D: using password as the key protector, you can use this command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$Password = Read-Host -AsSecureString \"Enter password\"\nEnable-Bitlocker -MountPoint D: -PasswordProtector -Password $Password<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This command will prompt you to enter a password and then start the encryption process in the background.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To enable BitLocker encryption for drive E: using recovery password as the key protector, you can use this command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$RecoveryPassword = Get-BitlockerVolume -MountPoint E: | Add-BitlockerKeyProtector -RecoveryPasswordProtector | Select-Object -ExpandProperty KeyProtector | Where-Object {$_.KeyProtectorType -eq \"RecoveryPassword\"} | Select-Object -ExpandProperty RecoveryPassword<br>Enable-Bitlocker -MountPoint E: -RecoveryPasswordProtector -RecoveryPassword $RecoveryPassword<br><\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This command will generate a random 48-digit recovery password using `Add-BitlockerKeyProtector` cmdlet and then use it to enable encryption.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can also combine multiple key protectors for added security. For example, to enable BitLocker encryption for drive F: using TPM and PIN as the key protectors, you can use this command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$Pin = Read-Host -AsSecureString \"Enter PIN\"\nEnable-Bitlocker -MountPoint F: -TpmAndPinProtector -Pin $Pin<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This command will prompt you to enter a PIN (4-20 digits) and then start the encryption process in the background.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">Checking Encryption Status<\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">To check the status of BitLocker encryption for one or more volumes, you can use `Get-BitlockerVolume` cmdlet from `Bitlocker` module. This cmdlet returns an object with information about each encrypted volume,<br>such as mount point, size, protection status (on or off), lock status (locked or unlocked), percentage encrypted (0-100) and more.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example, to check the status of all encrypted volumes on your computer,<br>you can use this command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Get-BitlockerVolume<\/code><\/pre>\n<\/body>","protected":false},"excerpt":{"rendered":"<p>What is it? BitLocker is a feature of Windows that allows you to encrypt your hard drives or removable media, such as USB flash drives, to protect your data from unauthorized access. BitLocker uses a key protector to encrypt the volume encryption key, which in turn encrypts the data on the volume. There are different [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":27,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[23],"tags":[],"class_list":["post-288","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-powershell"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.1.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"What is it? BitLocker is a feature of Windows that allows you to encrypt your hard drives or removable media, such as USB flash drives, to protect your data from unauthorized access. BitLocker uses a key protector to encrypt the volume encryption key, which in turn encrypts the data on the volume. There are different\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Lee Burridge\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.digitalsaviour.co.uk\/blog\/2023\/03\/17\/288\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.1.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_GB\" \/>\n\t\t<meta property=\"og:site_name\" content=\"\ud83d\udc7dDigital Saviour - Tech. ancient civilizations, conspiracies, UAPs and more\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"How to Use PowerShell and BitLocker for Drive Encryption - \ud83d\udc7dDigital Saviour\" \/>\n\t\t<meta property=\"og:description\" content=\"What is it? BitLocker is a feature of Windows that allows you to encrypt your hard drives or removable media, such as USB flash drives, to protect your data from unauthorized access. BitLocker uses a key protector to encrypt the volume encryption key, which in turn encrypts the data on the volume. There are different\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.digitalsaviour.co.uk\/blog\/2023\/03\/17\/288\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2022\/12\/AdobeStock_183503207-scaled.jpeg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2022\/12\/AdobeStock_183503207-scaled.jpeg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"2560\" \/>\n\t\t<meta property=\"og:image:height\" content=\"1440\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2023-03-17T16:20:34+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2023-03-17T16:21:27+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@leeburridge\" \/>\n\t\t<meta name=\"twitter:title\" content=\"How to Use PowerShell and BitLocker for Drive Encryption - \ud83d\udc7dDigital Saviour\" \/>\n\t\t<meta name=\"twitter:description\" content=\"What is it? BitLocker is a feature of Windows that allows you to encrypt your hard drives or removable media, such as USB flash drives, to protect your data from unauthorized access. BitLocker uses a key protector to encrypt the volume encryption key, which in turn encrypts the data on the volume. There are different\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2022\/12\/AdobeStock_183503207-scaled.jpeg\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/2023\\\/03\\\/17\\\/288\\\/#blogposting\",\"name\":\"How to Use PowerShell and BitLocker for Drive Encryption - \\ud83d\\udc7dDigital Saviour\",\"headline\":\"How to Use PowerShell and BitLocker for Drive Encryption\",\"author\":{\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/author\\\/leeburridge\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/www.digitalsaviour.co.uk\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/AdobeStock_183503207-scaled.jpeg?fit=2560%2C1440&ssl=1\",\"width\":2560,\"height\":1440},\"datePublished\":\"2023-03-17T16:20:34+00:00\",\"dateModified\":\"2023-03-17T16:21:27+00:00\",\"inLanguage\":\"en-GB\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/2023\\\/03\\\/17\\\/288\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/2023\\\/03\\\/17\\\/288\\\/#webpage\"},\"articleSection\":\"Powershell\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/2023\\\/03\\\/17\\\/288\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/category\\\/development\\\/#listItem\",\"name\":\"Development\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/category\\\/development\\\/#listItem\",\"position\":2,\"name\":\"Development\",\"item\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/category\\\/development\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/category\\\/development\\\/powershell\\\/#listItem\",\"name\":\"Powershell\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/category\\\/development\\\/powershell\\\/#listItem\",\"position\":3,\"name\":\"Powershell\",\"item\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/category\\\/development\\\/powershell\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/2023\\\/03\\\/17\\\/288\\\/#listItem\",\"name\":\"How to Use PowerShell and BitLocker for Drive Encryption\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/category\\\/development\\\/#listItem\",\"name\":\"Development\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/2023\\\/03\\\/17\\\/288\\\/#listItem\",\"position\":4,\"name\":\"How to Use PowerShell and BitLocker for Drive Encryption\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/category\\\/development\\\/powershell\\\/#listItem\",\"name\":\"Powershell\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/#person\",\"name\":\"Lee Burridge\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/2023\\\/03\\\/17\\\/288\\\/#personImage\",\"url\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/wp-content\\\/plugins\\\/ultimate-member\\\/assets\\\/img\\\/default_avatar.jpg\",\"width\":96,\"height\":96,\"caption\":\"Lee Burridge\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/author\\\/leeburridge\\\/#author\",\"url\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/author\\\/leeburridge\\\/\",\"name\":\"Lee Burridge\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/2023\\\/03\\\/17\\\/288\\\/#authorImage\",\"url\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/wp-content\\\/plugins\\\/ultimate-member\\\/assets\\\/img\\\/default_avatar.jpg\",\"width\":96,\"height\":96,\"caption\":\"Lee Burridge\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/2023\\\/03\\\/17\\\/288\\\/#webpage\",\"url\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/2023\\\/03\\\/17\\\/288\\\/\",\"name\":\"How to Use PowerShell and BitLocker for Drive Encryption - \\ud83d\\udc7dDigital Saviour\",\"description\":\"What is it? BitLocker is a feature of Windows that allows you to encrypt your hard drives or removable media, such as USB flash drives, to protect your data from unauthorized access. BitLocker uses a key protector to encrypt the volume encryption key, which in turn encrypts the data on the volume. There are different\",\"inLanguage\":\"en-GB\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/2023\\\/03\\\/17\\\/288\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/author\\\/leeburridge\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/author\\\/leeburridge\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/www.digitalsaviour.co.uk\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/AdobeStock_183503207-scaled.jpeg?fit=2560%2C1440&ssl=1\",\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/2023\\\/03\\\/17\\\/288\\\/#mainImage\",\"width\":2560,\"height\":1440},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/2023\\\/03\\\/17\\\/288\\\/#mainImage\"},\"datePublished\":\"2023-03-17T16:20:34+00:00\",\"dateModified\":\"2023-03-17T16:21:27+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/\",\"name\":\"\\ud83d\\udc7dDigital Saviour\",\"alternateName\":\"DS\",\"description\":\"Tech. ancient civilizations, conspiracies, UAPs and more\",\"inLanguage\":\"en-GB\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.digitalsaviour.co.uk\\\/blog\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"How to Use PowerShell and BitLocker for Drive Encryption - \ud83d\udc7dDigital Saviour","description":"What is it? BitLocker is a feature of Windows that allows you to encrypt your hard drives or removable media, such as USB flash drives, to protect your data from unauthorized access. BitLocker uses a key protector to encrypt the volume encryption key, which in turn encrypts the data on the volume. There are different","canonical_url":"https:\/\/www.digitalsaviour.co.uk\/blog\/2023\/03\/17\/288\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/www.digitalsaviour.co.uk\/blog\/2023\/03\/17\/288\/#blogposting","name":"How to Use PowerShell and BitLocker for Drive Encryption - \ud83d\udc7dDigital Saviour","headline":"How to Use PowerShell and BitLocker for Drive Encryption","author":{"@id":"https:\/\/www.digitalsaviour.co.uk\/blog\/author\/leeburridge\/#author"},"publisher":{"@id":"https:\/\/www.digitalsaviour.co.uk\/blog\/#person"},"image":{"@type":"ImageObject","url":"https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2022\/12\/AdobeStock_183503207-scaled.jpeg?fit=2560%2C1440&ssl=1","width":2560,"height":1440},"datePublished":"2023-03-17T16:20:34+00:00","dateModified":"2023-03-17T16:21:27+00:00","inLanguage":"en-GB","mainEntityOfPage":{"@id":"https:\/\/www.digitalsaviour.co.uk\/blog\/2023\/03\/17\/288\/#webpage"},"isPartOf":{"@id":"https:\/\/www.digitalsaviour.co.uk\/blog\/2023\/03\/17\/288\/#webpage"},"articleSection":"Powershell"},{"@type":"BreadcrumbList","@id":"https:\/\/www.digitalsaviour.co.uk\/blog\/2023\/03\/17\/288\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.digitalsaviour.co.uk\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.digitalsaviour.co.uk\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.digitalsaviour.co.uk\/blog\/category\/development\/#listItem","name":"Development"}},{"@type":"ListItem","@id":"https:\/\/www.digitalsaviour.co.uk\/blog\/category\/development\/#listItem","position":2,"name":"Development","item":"https:\/\/www.digitalsaviour.co.uk\/blog\/category\/development\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.digitalsaviour.co.uk\/blog\/category\/development\/powershell\/#listItem","name":"Powershell"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.digitalsaviour.co.uk\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.digitalsaviour.co.uk\/blog\/category\/development\/powershell\/#listItem","position":3,"name":"Powershell","item":"https:\/\/www.digitalsaviour.co.uk\/blog\/category\/development\/powershell\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.digitalsaviour.co.uk\/blog\/2023\/03\/17\/288\/#listItem","name":"How to Use PowerShell and BitLocker for Drive Encryption"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.digitalsaviour.co.uk\/blog\/category\/development\/#listItem","name":"Development"}},{"@type":"ListItem","@id":"https:\/\/www.digitalsaviour.co.uk\/blog\/2023\/03\/17\/288\/#listItem","position":4,"name":"How to Use PowerShell and BitLocker for Drive Encryption","previousItem":{"@type":"ListItem","@id":"https:\/\/www.digitalsaviour.co.uk\/blog\/category\/development\/powershell\/#listItem","name":"Powershell"}}]},{"@type":"Person","@id":"https:\/\/www.digitalsaviour.co.uk\/blog\/#person","name":"Lee Burridge","image":{"@type":"ImageObject","@id":"https:\/\/www.digitalsaviour.co.uk\/blog\/2023\/03\/17\/288\/#personImage","url":"https:\/\/www.digitalsaviour.co.uk\/blog\/wp-content\/plugins\/ultimate-member\/assets\/img\/default_avatar.jpg","width":96,"height":96,"caption":"Lee Burridge"}},{"@type":"Person","@id":"https:\/\/www.digitalsaviour.co.uk\/blog\/author\/leeburridge\/#author","url":"https:\/\/www.digitalsaviour.co.uk\/blog\/author\/leeburridge\/","name":"Lee Burridge","image":{"@type":"ImageObject","@id":"https:\/\/www.digitalsaviour.co.uk\/blog\/2023\/03\/17\/288\/#authorImage","url":"https:\/\/www.digitalsaviour.co.uk\/blog\/wp-content\/plugins\/ultimate-member\/assets\/img\/default_avatar.jpg","width":96,"height":96,"caption":"Lee Burridge"}},{"@type":"WebPage","@id":"https:\/\/www.digitalsaviour.co.uk\/blog\/2023\/03\/17\/288\/#webpage","url":"https:\/\/www.digitalsaviour.co.uk\/blog\/2023\/03\/17\/288\/","name":"How to Use PowerShell and BitLocker for Drive Encryption - \ud83d\udc7dDigital Saviour","description":"What is it? BitLocker is a feature of Windows that allows you to encrypt your hard drives or removable media, such as USB flash drives, to protect your data from unauthorized access. BitLocker uses a key protector to encrypt the volume encryption key, which in turn encrypts the data on the volume. There are different","inLanguage":"en-GB","isPartOf":{"@id":"https:\/\/www.digitalsaviour.co.uk\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.digitalsaviour.co.uk\/blog\/2023\/03\/17\/288\/#breadcrumblist"},"author":{"@id":"https:\/\/www.digitalsaviour.co.uk\/blog\/author\/leeburridge\/#author"},"creator":{"@id":"https:\/\/www.digitalsaviour.co.uk\/blog\/author\/leeburridge\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2022\/12\/AdobeStock_183503207-scaled.jpeg?fit=2560%2C1440&ssl=1","@id":"https:\/\/www.digitalsaviour.co.uk\/blog\/2023\/03\/17\/288\/#mainImage","width":2560,"height":1440},"primaryImageOfPage":{"@id":"https:\/\/www.digitalsaviour.co.uk\/blog\/2023\/03\/17\/288\/#mainImage"},"datePublished":"2023-03-17T16:20:34+00:00","dateModified":"2023-03-17T16:21:27+00:00"},{"@type":"WebSite","@id":"https:\/\/www.digitalsaviour.co.uk\/blog\/#website","url":"https:\/\/www.digitalsaviour.co.uk\/blog\/","name":"\ud83d\udc7dDigital Saviour","alternateName":"DS","description":"Tech. ancient civilizations, conspiracies, UAPs and more","inLanguage":"en-GB","publisher":{"@id":"https:\/\/www.digitalsaviour.co.uk\/blog\/#person"}}]},"og:locale":"en_GB","og:site_name":"\ud83d\udc7dDigital Saviour - Tech. ancient civilizations, conspiracies, UAPs and more","og:type":"article","og:title":"How to Use PowerShell and BitLocker for Drive Encryption - \ud83d\udc7dDigital Saviour","og:description":"What is it? BitLocker is a feature of Windows that allows you to encrypt your hard drives or removable media, such as USB flash drives, to protect your data from unauthorized access. BitLocker uses a key protector to encrypt the volume encryption key, which in turn encrypts the data on the volume. There are different","og:url":"https:\/\/www.digitalsaviour.co.uk\/blog\/2023\/03\/17\/288\/","og:image":"https:\/\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2022\/12\/AdobeStock_183503207-scaled.jpeg","og:image:secure_url":"https:\/\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2022\/12\/AdobeStock_183503207-scaled.jpeg","og:image:width":2560,"og:image:height":1440,"article:published_time":"2023-03-17T16:20:34+00:00","article:modified_time":"2023-03-17T16:21:27+00:00","twitter:card":"summary_large_image","twitter:site":"@leeburridge","twitter:title":"How to Use PowerShell and BitLocker for Drive Encryption - \ud83d\udc7dDigital Saviour","twitter:description":"What is it? BitLocker is a feature of Windows that allows you to encrypt your hard drives or removable media, such as USB flash drives, to protect your data from unauthorized access. BitLocker uses a key protector to encrypt the volume encryption key, which in turn encrypts the data on the volume. There are different","twitter:image":"https:\/\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2022\/12\/AdobeStock_183503207-scaled.jpeg"},"aioseo_meta_data":{"post_id":"288","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2025-09-26 11:03:22","updated":"2025-09-26 11:03:22","seo_analyzer_scan_date":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.digitalsaviour.co.uk\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.digitalsaviour.co.uk\/blog\/category\/development\/\" title=\"Development\">Development<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.digitalsaviour.co.uk\/blog\/category\/development\/powershell\/\" title=\"Powershell\">Powershell<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tHow to Use PowerShell and BitLocker for Drive Encryption\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.digitalsaviour.co.uk\/blog"},{"label":"Development","link":"https:\/\/www.digitalsaviour.co.uk\/blog\/category\/development\/"},{"label":"Powershell","link":"https:\/\/www.digitalsaviour.co.uk\/blog\/category\/development\/powershell\/"},{"label":"How to Use PowerShell and BitLocker for Drive Encryption","link":"https:\/\/www.digitalsaviour.co.uk\/blog\/2023\/03\/17\/288\/"}],"jetpack-related-posts":[{"id":594,"url":"https:\/\/www.digitalsaviour.co.uk\/blog\/2026\/01\/26\/navigating-the-end-of-life-maze-a-powershell-script-to-track-software-support-cycles\/","url_meta":{"origin":288,"position":0},"title":"Navigating the End-of-Life Maze: A PowerShell Script to Track Software Support Cycles","author":"Lee Burridge","date":"January 26, 2026","format":false,"excerpt":"In the ever-evolving world of technology, keeping tabs on when software reaches its end-of-life (EOL) or end-of-support (EOS) is crucial. Why? Because once a product hits EOL, it stops receiving security updates, bug fixes, and technical support from the vendor. This leaves systems vulnerable to cyber threats, compliance issues, and\u2026","rel":"","context":"In &quot;Development&quot;","block_context":{"text":"Development","link":"https:\/\/www.digitalsaviour.co.uk\/blog\/category\/development\/"},"img":{"alt_text":"computer codes","src":"https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2025\/09\/pexels-photo-207580.jpeg?fit=1200%2C900&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2025\/09\/pexels-photo-207580.jpeg?fit=1200%2C900&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2025\/09\/pexels-photo-207580.jpeg?fit=1200%2C900&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2025\/09\/pexels-photo-207580.jpeg?fit=1200%2C900&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2025\/09\/pexels-photo-207580.jpeg?fit=1200%2C900&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":254,"url":"https:\/\/www.digitalsaviour.co.uk\/blog\/2023\/02\/06\/force-sync-all-aad-joined-devices\/","url_meta":{"origin":288,"position":1},"title":"Force sync all AAD joined devices","author":"Lee Burridge","date":"February 6, 2023","format":false,"excerpt":"We have all been here. It's a common issue really and one that doesn't have a simple \"one-click\" solution within Endpoint Manager.","rel":"","context":"In &quot;Intune&quot;","block_context":{"text":"Intune","link":"https:\/\/www.digitalsaviour.co.uk\/blog\/category\/intune\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2022\/12\/AdobeStock_183503207-scaled.jpeg?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2022\/12\/AdobeStock_183503207-scaled.jpeg?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2022\/12\/AdobeStock_183503207-scaled.jpeg?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2022\/12\/AdobeStock_183503207-scaled.jpeg?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2022\/12\/AdobeStock_183503207-scaled.jpeg?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":264,"url":"https:\/\/www.digitalsaviour.co.uk\/blog\/2023\/03\/14\/the-mystery-of-secure-boot-intune-compliance\/","url_meta":{"origin":288,"position":2},"title":"The mystery of Secure Boot Intune compliance","author":"Lee Burridge","date":"March 14, 2023","format":false,"excerpt":"Intune compliance is a fantastic tool - if done right - but it has it's gotchas. Today I'm going to talk about a particular bugbear of mine which is Secure Boot compliance. When setting up a compliance policy you can set the standard policy up to check for Secure Boot\u2026","rel":"","context":"In &quot;Intune&quot;","block_context":{"text":"Intune","link":"https:\/\/www.digitalsaviour.co.uk\/blog\/category\/intune\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2022\/12\/AdobeStock_183503207-scaled.jpeg?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2022\/12\/AdobeStock_183503207-scaled.jpeg?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2022\/12\/AdobeStock_183503207-scaled.jpeg?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2022\/12\/AdobeStock_183503207-scaled.jpeg?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2022\/12\/AdobeStock_183503207-scaled.jpeg?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":353,"url":"https:\/\/www.digitalsaviour.co.uk\/blog\/2025\/01\/25\/update-7-zip-automatically\/","url_meta":{"origin":288,"position":3},"title":"Update 7-Zip Automatically","author":"Lee Burridge","date":"January 25, 2025","format":false,"excerpt":"The discussion highlights the lack of automated update options for 7-Zip installations across managed devices. The author shares a script to periodically check for and install the latest version using Intune, emphasizing the need for such automation. Suggestions for improvement and alternative methods are invited from readers.","rel":"","context":"In &quot;Powershell&quot;","block_context":{"text":"Powershell","link":"https:\/\/www.digitalsaviour.co.uk\/blog\/category\/development\/powershell\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2025\/01\/7zipupgrade.png?fit=1200%2C844&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2025\/01\/7zipupgrade.png?fit=1200%2C844&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2025\/01\/7zipupgrade.png?fit=1200%2C844&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2025\/01\/7zipupgrade.png?fit=1200%2C844&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2025\/01\/7zipupgrade.png?fit=1200%2C844&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":297,"url":"https:\/\/www.digitalsaviour.co.uk\/blog\/2023\/03\/24\/fixing-your-winre-partition-using-intune-mem\/","url_meta":{"origin":288,"position":4},"title":"Step-by-Step Recovery Partition Fix with Intune","author":"Lee Burridge","date":"March 24, 2023","format":false,"excerpt":"We may have been here before you and I. Your build has messed up. Partitions have been setup wrong. So not what? Your recovery partition is broken. This causes problems with encryption any much more. So what do we do? The solutions out there are generally fix the build and\u2026","rel":"","context":"In &quot;Intune&quot;","block_context":{"text":"Intune","link":"https:\/\/www.digitalsaviour.co.uk\/blog\/category\/intune\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2022\/12\/AdobeStock_183503207-scaled.jpeg?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2022\/12\/AdobeStock_183503207-scaled.jpeg?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2022\/12\/AdobeStock_183503207-scaled.jpeg?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2022\/12\/AdobeStock_183503207-scaled.jpeg?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2022\/12\/AdobeStock_183503207-scaled.jpeg?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":589,"url":"https:\/\/www.digitalsaviour.co.uk\/blog\/2026\/01\/26\/skywatcher-update-2026-what-happened-to-the-promised-data-dump-summoning-tech-and-disclosure-breakthroughs\/","url_meta":{"origin":288,"position":5},"title":"Skywatcher Update 2026: What Happened to the Promised Data Dump, Summoning Tech, and Disclosure Breakthroughs?","author":"Lee Burridge","date":"January 26, 2026","format":false,"excerpt":"It's been over a year since Jake Barber burst onto the scene in late 2024\/early 2025, dropping bombshell claims on NewsNation about his involvement in UAP crash retrievals, non-human intelligence (NHI), and a private effort to drag the phenomenon into the open. As a U.S. Air Force veteran turned whistleblower,\u2026","rel":"","context":"In &quot;Conspiracy&quot;","block_context":{"text":"Conspiracy","link":"https:\/\/www.digitalsaviour.co.uk\/blog\/category\/conspiracy\/"},"img":{"alt_text":"SkyWatcher - What Happened??","src":"https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2025\/02\/jakeBarber.png?fit=1022%2C506&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2025\/02\/jakeBarber.png?fit=1022%2C506&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2025\/02\/jakeBarber.png?fit=1022%2C506&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2025\/02\/jakeBarber.png?fit=1022%2C506&ssl=1&resize=700%2C400 2x"},"classes":[]}],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.digitalsaviour.co.uk\/blog\/wp-content\/uploads\/2022\/12\/AdobeStock_183503207-scaled.jpeg?fit=2560%2C1440&ssl=1","_links":{"self":[{"href":"https:\/\/www.digitalsaviour.co.uk\/blog\/wp-json\/wp\/v2\/posts\/288","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.digitalsaviour.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.digitalsaviour.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.digitalsaviour.co.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.digitalsaviour.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=288"}],"version-history":[{"count":4,"href":"https:\/\/www.digitalsaviour.co.uk\/blog\/wp-json\/wp\/v2\/posts\/288\/revisions"}],"predecessor-version":[{"id":293,"href":"https:\/\/www.digitalsaviour.co.uk\/blog\/wp-json\/wp\/v2\/posts\/288\/revisions\/293"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.digitalsaviour.co.uk\/blog\/wp-json\/wp\/v2\/media\/27"}],"wp:attachment":[{"href":"https:\/\/www.digitalsaviour.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=288"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.digitalsaviour.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=288"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.digitalsaviour.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=288"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}