Templates/Remediate_template.ps1

 
Import-Module Lenovo.BIOS.Config -Force

#Start the ThinkBiosConfig module
Initialize-LnvThinkBiosConfig

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

$needSave = $false

#Gather local wmi settings
$settings = Show-LnvWmiSettings



#INSERT CODE HERE#


if(-not $compliant)
{
    Write-Output "Not remediated"
    exit 1
}
else
{
    Write-Output "Remediated"
    exit 0
}
#>