MSEndpointMgr / ModernDriverManagement

Official repo of Modern Driver Management from MSEndpointMgr.com
https://www.msendpointmgr.com
MIT License
133 stars 80 forks source link

Parameter set cannot be resolved using the specified parameters At line: 1 char: 1 #255

Closed nateg1216 closed 1 year ago

nateg1216 commented 1 year ago

Debug Mode works fine. Here is what I use as the parameters in the TS step for dynamically apply drivers:

-BareMetal -Endpoint -TargetOSName 'Windows 10' -TargetOSVersion '22H2' -ComputerModel 'ThinkPad T14 Type 20S0 20S1' -Manufacturer Lenovo

Previous step has the MDM variables set and TS log shows that they are applied. What am I missing?

nateg1216 commented 1 year ago

Alright, this is even more weird... I ran the script manually in PE and it wouldn't work with the parameters above so I just ran -BareMetal and entered the endpoint, TargetOSName, and TargetOSVersion and it started working!?

What is going on!?

nateg1216 commented 1 year ago

I'm a dummy, -ComputerModel and -Manufacturer are for Debug Mode.