MSEndpointMgr / ConfigMgr

Microsoft Endpoint Configuration Manager scripts and tools
634 stars 281 forks source link

OSDDownloadContent.exe and Invoke-CMApplyDriverPackage.ps1 #219

Open vbateman opened 4 years ago

vbateman commented 4 years ago

I currently use 1E Nomad as a Alternate Content Provider and have been running into some issues with this. After doing quite a bit of digging I found this article that explains the problem. This is a user voice suggestion.

"Support using OSDDownloadContent.exe outside of Download Package Content TS step A number of organizations are using OSDDownloadContent.exe outside of Download Package Content TS Step to download dynamic driver content (made popular by http://www.scconfigmgr.com/modern-driver-management/). In this scenario, driver package version information is missing in the TS environment during TS runtime (i.e. SMSTSSourceVersion%PackageID% TS variables are not set). When an Alternate Content Provider is called using SMSTSDownloadProgram to download content, the ACP is unable to determine which version of the package needs to be downloaded and can result in download failure or downloading the incorrect version of a driver.

Ideally, OSDDownloadContent.exe would be able to retrieve the current version and update the SMSTSSourceVersion%PackageID% TS variable before calling the ACP. "

I understand this is an issue with Configuration Manager and outside of your control, I was just wondering if the invoke script can set the "SMSTSSourceVersion%PackageID% TS variable" when it retrieves the package ID from the webservice??

Thanks for any Help

Vern Bateman

NickolajA commented 4 years ago

We could add this if it helps, what should the value be?