MicrosoftDocs / Windows-Admin-Center-Ideas-and-Feedback

Windows Admin Center's hub for ideas and feedback.
Creative Commons Attribution 4.0 International
20 stars 9 forks source link

[Windows Admin Center - Updates - Install-Updates.ps1] - CommandLine parameters not properly passed as strings #279

Closed 777black777 closed 1 year ago

777black777 commented 1 year ago

Windows Admin Center Build 1.4.2212.08003 passes parameters to the PowerShell process but does not do so as proper strings.

Showing that variables that used to be written into the file have now become parameters being passed on the command line. image

Example Command Line: image image

You'll notice that the -updateIDs argument has 3 UpdateIDs, but the beginning one does not start with a single quote (') and the ending one does not end with a single quote ('). On my systems, the process does not update my servers due to the invalid literal string issue.

Originally posted by @777black777 in https://github.com/MicrosoftDocs/Windows-Admin-Center-Ideas-and-Feedback/issues/268#issuecomment-1374194761

777black777 commented 1 year ago

I believe this issue is now resolved. The command line for the PowerShell has now forgone the use of literal string delimiters. image