Skip to content

Commit

Permalink
Update to resolve issue dsccommunity#47
Browse files Browse the repository at this point in the history
  • Loading branch information
FrelVick authored Feb 15, 2019
1 parent ebb676e commit a903695
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Misc/xBitlockerCommon.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -792,6 +792,15 @@ function Assert-HasPrereqsForBitlocker
$blAdminToolsFeature = Get-WindowsFeature RSAT-Feature-Tools-BitLocker
$blAdminToolsRemoteFeature = Get-WindowsFeature RSAT-Feature-Tools-BitLocker-RemoteAdminTool

if (
((Get-CimInstance -ClassName Win32_OperatingSystem).ProductType -eq 1) -and
(get-command enable-bitlocker -ErrorAction SilentlyContinue)
)
{
# Client OS with BitLocker detected
return
}

if ($blFeature.InstallState -ne 'Installed')
{
$hasAllPreReqs = $false
Expand Down

0 comments on commit a903695

Please sign in to comment.