Templates/Detect_template.ps1


Import-Module Lenovo.BIOS.Config -Force

#Start the ThinkBiosConfig module
Initialize-LnvThinkBiosConfig

#Gather local wmi settings
$settings = Show-LnvWmiSettings

#boolean to keep track of compliance
$compliant = $true

#INSERT CODE HERE#



if(-not $compliant)
{
    Write-Output "Not compliant"
    exit 1   
}
else
{  
    Write-Output "Compliant"
    exit 0
}