Window PowerShell cmdlets render an alternative way to work well with BitLocker. Playing with Window PowerShell’s scripting opportunities, administrators can incorporate BitLocker solutions towards the existing texts with ease. The list below displays brand new available BitLocker cmdlets.
Similar to create-bde, the latest Windows PowerShell cmdlets create setting outside the choices offered in the new control board. Just as in create-bde
, users need to check out the specific means of your regularity it is encrypting in advance of powering Window PowerShell cmdlets.
An effective first rung on the ladder should be to influence the present day condition off the volume(s) using the pc. You can do this utilizing the Get-BitLocker volume cmdlet. The new production from this cmdlet displays details about the quantity types of, protectors, coverage reputation, and other tips.
Sometimes, all the protectors may not be revealed while using the Get-BitLockerVolume because of shortage of area about productivity monitor. Unless you come across every protectors to possess a great volume, you need to use brand new Windows PowerShell tube command (|) in order to structure a summary of new protectors.
In the event that there are more than five protectors for a volume, brand new pipe command could possibly get run out of display room. Having volumes with more than five protectors, utilize the means demonstrated regarding the area less than to generate a good listing of every protectors having guardian ID.
When you need to take away the established protectors in advance of provisioning BitLocker towards the volume, you need to use the latest Treat-BitLockerKeyProtector cmdlet. Achieving this task necessitates the GUID associated with protector so you’re able to come-off. A straightforward script is pipe the values each and every Get-BitLockerVolume get back out over another varying given that viewed lower than:
With this particular script, we can display everything about $keyprotectors changeable to select the GUID for every protector. Using this type of recommendations, we are able to after that remove the key protector to own a particular frequency using the order:
This new BitLocker cmdlet requires the secret protector GUID enclosed in the quote marks to perform. Make sure the whole GUID, which have braces, is roofed regarding order.
Systems regularity
Using the BitLocker Screen PowerShell cmdlets is like dealing with the fresh new do-bde product to own encrypting os’s amounts. Windows PowerShell offers profiles a good amount of independence. Such, profiles will add the desired guardian as part command for encrypting the quantity. Here are types of popular affiliate situations and you can strategies to complete him or her using the BitLocker cmdlets for Windows PowerShell.
Brand new example lower than adds one to a lot more guardian, the fresh StartupKey protectors, and you will decides to skip the BitLocker equipment try. Within this example, encryption initiate instantaneously without needing an effective reboot.
Study regularity
Data frequency encryption having fun with Screen PowerShell is the same as to possess operating systems amounts. Range from the desired protectors prior to encrypting the volume. The following example contributes a code guardian towards the Elizabeth: frequency with the adjustable $pw since code. The fresh $pw varying try stored as the a SecureString value to keep the fresh user-defined password. Past, encryption begins.
Playing with an SID-dependent guardian when you look at the Windows PowerShell
The brand new ADAccountOrGroup guardian was a working Directory SID-dependent protector. So it protector can be placed into each other os’s and you may investigation quantities, though it cannot discover os’s volumes regarding the pre-footwear environment. Brand new protector necessitates the SID into website name membership otherwise group so you’re able to link with this new protector. BitLocker can safeguard a group-aware computer by the addition of an SID-situated protector into Cluster Label Object (CNO) you to allows the drive properly failover and become unlocked to your affiliate computer system of cluster.
The newest SID-established protector necessitates the usage of a supplementary protector (such TPM, PIN, data recovery key, etc.) whenever put on operating system amounts.
To provide a keen ADAccountOrGroup protector to a volume, you want possibly the real website name SID or perhaps the classification label preceded from the website name and you can a good backslash. Regarding the example below, the fresh CONTOSO\Manager account is added as the a protector toward analysis regularity Grams.