From ff4717aa3a559ebbb746867ffec209d570aea25c Mon Sep 17 00:00:00 2001 From: Nickolaj Andersen Date: Tue, 14 May 2019 10:39:39 +0200 Subject: [PATCH] Invoke-HPBIOSUpdate.ps1 version 1.0.4 --- Operating System Deployment/BIOS/Invoke-HPBIOSUpdate.ps1 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Operating System Deployment/BIOS/Invoke-HPBIOSUpdate.ps1 b/Operating System Deployment/BIOS/Invoke-HPBIOSUpdate.ps1 index 599cef4..4c4b169 100644 --- a/Operating System Deployment/BIOS/Invoke-HPBIOSUpdate.ps1 +++ b/Operating System Deployment/BIOS/Invoke-HPBIOSUpdate.ps1 @@ -160,7 +160,11 @@ Process { # Add password to the flash bios switches $FlashSwitches = $FlashSwitches + " -p$($PSScriptRoot)\$($PasswordBin)" Write-CMLogEntry -Value "Using the following switches for BIOS file: $($FlashSwitches)" -Severity 1 - } + } + else { + Write-CMLogEntry -Value "Using the following switches for BIOS file: $($FlashSwitches)" -Severity 1 + } + # Set log file location $LogFilePath = Join-Path -Path $TSEnvironment.Value("_SMSTSLogPath") -ChildPath $LogFileName