Skip to content

Commit

Permalink
Improved non-OS Bitlocker volume verification
Browse files Browse the repository at this point in the history
  • Loading branch information
HotCakeX committed Nov 8, 2023
1 parent 969f8ad commit 4082621
Showing 1 changed file with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -631,12 +631,22 @@ function Confirm-SystemCompliance {
Method = 'Cmdlet'
}
}
else {
$NestedObjectArray += [PSCustomObject]@{
FriendlyName = "Secure Drive $MountPoint encryption"
Compliant = $false
Value = 'Not properly encrypted'
Name = "Secure Drive $MountPoint encryption"
Category = $CatName
Method = 'Cmdlet'
}
}
}
else {
$NestedObjectArray += [PSCustomObject]@{
FriendlyName = "Secure Drive $MountPoint encryption"
Compliant = $false
Value = 'Not properly encrypted'
Value = 'Not encrypted'
Name = "Secure Drive $MountPoint encryption"
Category = $CatName
Method = 'Cmdlet'
Expand Down

0 comments on commit 4082621

Please sign in to comment.