Skip to content

Commit

Permalink
Invoke-MicrosoftBIOSUpdate.ps1 - Version 1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
maurice-daly authored Jul 25, 2019
1 parent 10f0d8a commit 5a9a063
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
Authors: Maurice Daly
Contact: @modaly_it
Created: 2019-07-11
Updated: 2019-07-22
Updated: 2019-07-25
Version history:
1.0.0 - (2019-07-11) Script created (Maurice Daly)
1.0.1 - (2019-07-22) Minor fixes
1.0.2 - (2019-07-25) Minor fixes
#>
[CmdletBinding(SupportsShouldProcess=$true)]
param(
Expand Down Expand Up @@ -136,7 +136,6 @@ Process {
Write-CMLogEntry -Value "Initiating pnputil to apply firmware updates" -Severity 1
$ApplyFirmwareInvocation = Invoke-Executable -FilePath "powershell.exe" -Arguments "pnputil /add-driver $(Join-Path -Path $OSDFirmwarePackageLocation -ChildPath '*.inf') /subdirs /install | Out-File -FilePath (Join-Path -Path $($LogsDirectory) -ChildPath 'Install-MicrosoftFirmware.txt') -Force"
}
}
else {
Write-CMLogEntry -Value "Unable to determine BIOS package path." -Severity 2 ; exit 1
}
Expand Down

0 comments on commit 5a9a063

Please sign in to comment.