Skip to content

Commit

Permalink
Invoke-CMApplyDriverPackage.ps1 version 2.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
NickolajA committed May 14, 2019
1 parent 2fa75c7 commit a423931
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@ Process {

switch ($ComputerDetectionMethod) {
"ComputerModel" {
if ($PackageNameComputerModel -match $ComputerModel) {
if ($PackageNameComputerModel -like $ComputerModel) {
Write-CMLogEntry -Value "Match found for computer model using detection method: $($ComputerDetectionMethod) ($($ComputerModel))" -Severity 1
$ComputerDetectionResult = $true
}
Expand Down

0 comments on commit a423931

Please sign in to comment.