MSEndpointMgr / ConfigMgr

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

Invoke-CMDownloadBIOSPackage.ps1 Filter Parameter must use single quotes #162

Open EvilerBetty opened 5 years ago

EvilerBetty commented 5 years ago

Maybe related to: https://github.com/SCConfigMgr/ConfigMgr/issues/138

While trying to filter out Pilot and Retired BIOS updates, I ran into this issue with the command example:

Invoke-CMDownloadBIOSPackage.ps1 -Filter "BIOS Update -"

This will result in an error stating that parameter "Update" cannot be found.

Updating the TS command line with single quotes to:

Invoke-CMDownloadBIOSPackage.ps1 -Filter 'BIOS Update -'

Seems to resolve the issue.

EvilerBetty commented 5 years ago

Same applies to Invoke-CMApplyDriverPackage.ps1 v2.2.3

vartaxe commented 5 years ago

Im using “Driver” have to try ‘Driver’ to see what happens