Skip to content
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

fix FallbackDriverPackages for new AdminService #45

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions Invoke-CMApplyDriverPackage.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -1461,11 +1461,7 @@ Process {

[parameter(Mandatory = $true, HelpMessage = "Specify the OS Image details object from Get-OSImageDetails function.")]
[ValidateNotNullOrEmpty()]
[PSCustomObject]$OSImageData,

[parameter(Mandatory = $true, HelpMessage = "Specify the web service object returned from Connect-WebService function.")]
[ValidateNotNullOrEmpty()]
[PSCustomObject]$WebService
[PSCustomObject]$OSImageData
)
if ($Script:DriverPackageList.Count -eq 0) {
Write-CMLogEntry -Value " - Previous validation process could not find a match for a specific driver package, starting fallback driver package matching process" -Severity 1
Expand Down Expand Up @@ -2235,7 +2231,7 @@ Process {
Write-CMLogEntry -Value "[DriverPackageFallback]: Starting fallback driver package detection phase" -Severity 1

# Match detected fallback driver packages from web service call with computer details and OS image details
Confirm-FallbackDriverPackage -ComputerData $ComputerData -OSImageData $OSImageDetails -WebService $WebService
Confirm-FallbackDriverPackage -ComputerData $ComputerData -OSImageData $OSImageDetails

Write-CMLogEntry -Value "[DriverPackageFallback]: Completed fallback driver package detection phase" -Severity 1
Write-CMLogEntry -Value "[DriverPackageFallbackValidation]: Starting fallback driver package validation phase" -Severity 1
Expand Down