-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Dell BIOS Detection Method #92
Comments
|
|
|
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If version is a number like 1.2.3, then prepend with [VERSION]
If version starts with A, then leave it a string
CHANGE ME
$TargetBIOSVersion = [VERSION]"1.6.4"
CHANGE ME
$BIOSVersion = (Get-WmiObject -Query "select SMBIOSBIOSVersion from Win32_BIOS").SMBIOSBIOSVersion
If ($BIOSVersion -like 'A*')
{
$BIOSVersion = $BIOSVersion -replace "A", ""
}
else
{
$BIOSVersion = [Version]BIOSVersion
}
if($BIOSVersion -ge $TargetBIOSVersion)
{
Write-Host "Installed"
}
The text was updated successfully, but these errors were encountered: