maurice-daly / DriverAutomationTool

Home of the Driver Automation Tool
https://www.msendpointmgr.com
BSD 2-Clause "Simplified" License
382 stars 114 forks source link

Invoke-CMApplyDriverPackage.ps1 AdminService command line TargetOSName fails #388

Open hudyscott opened 1 year ago

hudyscott commented 1 year ago

I'm getting an argument error on TargetOSName...... -TargetOSName "Windows 10" -TargetOSVersion "21H2".
I've looked through the PS script to see if there was a typo but I couldn't find one....It appears the command line is correct...

DJ12220 commented 1 year ago

We had this issue also, I redeployed the package and it worked again.

This was after applying the latest SCCM update last week.

I use ' not " in the commandline, maybe try that if your still having issues.

hudyscott commented 1 year ago

the single quote worked for me as well

Hudy Scott IT Technician | Community Choice Financial Direct: 316-425-1330 @.**@.> PLEASE NOTE: Speedy Cash, Rapid Cash and Avio are now part of the Community Choice Financial family of companies [cid:ed978629-a5fe-4b81-8263-1da610d2e271]


From: DJ12220 @.> Sent: Thursday, September 22, 2022 10:00 AM To: maurice-daly/DriverAutomationTool @.> Cc: hudyscott @.>; Author @.> Subject: [External]Re: [maurice-daly/DriverAutomationTool] Invoke-CMApplyDriverPackage.ps1 AdminService command line TargetOSName fails (Issue #388)

CAUTION: External Email This email has originated from outside of the organization. Do not click any links or open any attachments unless you have verified the sender and know the content is safe.

CAUTION: This email was sent from outside the organization @.***). Do not click links or open attachments unless you recognize the sender and know the content is safe.

We had this issue also, I redeployed the package and it worked again.

This was after applying the latest SCCM update last week.

I use ' not " in the commandline, maybe try that if your still having issues.

— Reply to this email directly, view it on GitHubhttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmaurice-daly%2FDriverAutomationTool%2Fissues%2F388%23issuecomment-1255154746&data=05%7C01%7Chscott%40ccfi.com%7C8725521835d14c3eafa708da9cab409f%7C1773e9f4954c4747a4534bd6405b5a14%7C0%7C0%7C637994556602062375%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=zm9UJq5oTw5OgISyZFIekZr3Maj86ffD9KRbC72qXMQ%3D&reserved=0, or unsubscribehttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAP3I2S52CJNYLNBGUNYJMCDV7RYCHANCNFSM6AAAAAAQNN3B5Q&data=05%7C01%7Chscott%40ccfi.com%7C8725521835d14c3eafa708da9cab409f%7C1773e9f4954c4747a4534bd6405b5a14%7C0%7C0%7C637994556602062375%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=rIIPqTkxmF00RbMFrwOJBHF25x90zDmcufte1JiRvaE%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.***>