Skip to content

Commit

Permalink
corrected pkg name and console path (#4)
Browse files Browse the repository at this point in the history
* corrected package name and package path

* bump version
  • Loading branch information
w0 authored Aug 29, 2023
1 parent a62125e commit 1104bf2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion source/OpenDriverTool.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
RootModule = 'OpenDriverTool.psm1'

# Version number of this module.
ModuleVersion = '0.3.0'
ModuleVersion = '0.3.1'

# Supported PSEditions
# CompatiblePSEditions = @()
Expand Down
4 changes: 2 additions & 2 deletions source/public/Update-MicrosoftDriver.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function Update-MicrosoftDriver {
' Found Driver: {0}' -f $Driver.FileName | Log

$DriverPackage = @{
Name = 'Drivers - {0} {1} - {2}' -f 'Microsoft', $Model, $OSVersion, $Driver.OSVersion
Name = 'Drivers - {0} {1} - {2}' -f 'Microsoft', $Model, $Driver.OSVersion
Version = ($Driver.FileName -split '_' | Select-Object -last 1).trim('.msi')
Manufacturer = 'Microsoft'
Description = '(Models included:{0})' -f $Driver.Product
Expand Down Expand Up @@ -96,7 +96,7 @@ function Update-MicrosoftDriver {


' Creating driver package in sccm.'
$CMPackage = New-Package -Package $DriverPackage -Type 'Driver' -SiteCode $SiteCode -ContentPath $DriverContent -Make 'Dell'
$CMPackage = New-Package -Package $DriverPackage -Type 'Driver' -SiteCode $SiteCode -ContentPath $DriverContent -Make 'Microsoft'

switch ($PSBoundParameters.Keys) {
'DistributionPoints' { Start-ContentDistribution -CMPackage $CMPackage -SiteCode $SiteCode -DistributionPoints $DistributionPoints }
Expand Down

0 comments on commit 1104bf2

Please sign in to comment.