-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Labels
bugThe issue is a bug.The issue is a bug.help wantedThe issue is up for grabs for anyone in the community.The issue is up for grabs for anyone in the community.
Description
Due to this function Assert-HasPrereqsForBitlocker the resource doesn't start on the Windows 10. If you perform all the steps manually it works perfectly.
Since Get-WindowsFeature doesn't exists on client OS the function throw
'Required Bitlocker features need to be installed before xBitlocker can be used'
which is not true for Pro, Enterprise, and Education editions of Windows 10.
if( ((Get-CimInstance -ClassName Win32_OperatingSystem).ProductType -eq 1) -and (get-command enable-bitlocker -ErrorAction SilentlyContinue)) then {It is a workstation with BitLocker available, don't throw}
Little check like that one could help you to avoid false negative assert.
Regards,
Viktor Frelikh
samtmagee
Metadata
Metadata
Assignees
Labels
bugThe issue is a bug.The issue is a bug.help wantedThe issue is up for grabs for anyone in the community.The issue is up for grabs for anyone in the community.