forked from dsccommunity/xBitlocker
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 78ad3b1
Showing
15 changed files
with
1,826 additions
and
0 deletions.
There are no files selected for viewing
322 changes: 322 additions & 0 deletions
322
DSCResources/MSFT_xBLAutoBitlocker/MSFT_xBLAutoBitlocker.psm1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
DSCResources/MSFT_xBLAutoBitlocker/MSFT_xBLAutoBitlocker.schema.mof
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
|
||
[ClassVersion("1.0.0.0"), FriendlyName("xBLAutoBitlocker")] | ||
class MSFT_xBLAutoBitlocker : OMI_BaseResource | ||
{ | ||
//Used to automatically enable Bitlocker on drives of type Fixed or Removable. Does not work on Operating System drives. | ||
|
||
[Key, ValueMap{"Fixed","Removable"}, Values{"Fixed","Removable"}] String DriveType; //The type of volume, as reported by Get-Volume, to auto apply Bitlocker to | ||
[Write] Sint32 MinDiskCapacityGB; //If specified, only disks this size or greater will auto apply Bitlocker | ||
[Required, ValueMap{"AdAccountOrGroupProtector","PasswordProtector","Pin","RecoveryKeyProtector","RecoveryPasswordProtector","StartupKeyProtector","TpmProtector"}, Values{"AdAccountOrGroupProtector","PasswordProtector","Pin","RecoveryKeyProtector","RecoveryPasswordProtector","StartupKeyProtector","TpmProtector"}] String PrimaryProtector; | ||
[Write] Boolean AutoUnlock; //Whether volumes should be enabled for auto unlock using Enable-BitlockerAutoUnlock | ||
|
||
//Remaing properties correspond directly to Enable-Bitlocker parameters | ||
//http://technet.microsoft.com/en-us/library/jj649837.aspx | ||
[Write] String AdAccountOrGroup; | ||
[Write] Boolean AdAccountOrGroupProtector; | ||
[Write, ValueMap{"Aes128","Aes256"}, Values{"Aes128","Aes256"}] String EncryptionMethod; | ||
[Write] Boolean HardwareEncryption; | ||
[Write, EmbeddedInstance("MSFT_Credential")] String Password; //NOTE: Username doesn't matter for the credential. Just put the Password in the Password field | ||
[Write] Boolean PasswordProtector; | ||
[Write, EmbeddedInstance("MSFT_Credential")] String Pin; //NOTE: Username doesn't matter for the credential. Just put the Pin in the Password field | ||
[Write] String RecoveryKeyPath; | ||
[Write] Boolean RecoveryKeyProtector; | ||
[Write] Boolean RecoveryPasswordProtector; | ||
[Write] Boolean Service; | ||
[Write] Boolean SkipHardwareTest; | ||
[Write] String StartupKeyPath; | ||
[Write] Boolean StartupKeyProtector; | ||
[Write] Boolean TpmProtector; | ||
[Write] Boolean UsedSpaceOnly; | ||
}; | ||
|
||
|
||
|
Oops, something went wrong.