Issue with Spaces in Command Line Arguments

I have added support for a mandatory command line argument in Deploy-Application.ps1. All works well until I have spaces in the command line parameter, Deploy-Application.exe exits immediately.

Example: Deploy-Application.exe -group “You Are Here”

The command line argument with spaces works fine when using with Deploy-Application.ps1

Is this known limitation or bug? Anything I can change to allow the spaces with Deploy-Application.exe?

Toolkit Version: 3.8.2

Thanks

I don’t need to use Deploy-Application.exe but I suspect Deploy-Application.exe is blocking any parameters it doesn’t know.

It should be a feature. Please ask for it here: Issues · PSAppDeployToolkit/PSAppDeployToolkit · GitHub

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.