Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Invoke-MSIntuneDriverUpdate.ps1 #10

Open
wants to merge 58 commits into
base: master
Choose a base branch
from

Conversation

gaelicWizard
Copy link

Fix hyphen on line 305, fix extraction command line to escape a space in the folder path, and remove the escape-from-WoW "SysNative" shim.

Line 305 had a typo that I assume was due to an edit made in a web browser: it had a dash instead of a hyphen, which caused PowerShell to simply fail to parse the file.

The driver files path has a space in it, but the command line didn't have quotes or escapes to account for the space but it took me a minute to figure that out. I also edited the flags to match the error message reported by the softpaq exe. (Same flags, just slash instead of dash, and in a different order.)

And finally, I removed the SysNative trick since I'm running in 64-bit land and it was throwing an error. (You might not want to merge this one; dunno).

Thanks,
JP

@JankeSkanke JankeSkanke force-pushed the master branch 2 times, most recently from 987e4e9 to 0a274b7 Compare November 14, 2021 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants