Using winget with pdq deploy?
So i am trying to install an app driectly from the microsoft store. I am able to do it on the machine using winget. I cannot do it through pdq is there a way to make this work?
James D solution is at the bottom wrap the winget in a ps1 file then run it that way.
winget install "lenovo commercial vantage" --accept-package-agreements --accept-source-agreements
is what i put directly into the ps section of pdq deploy and it threw errors.
If i wrap that ps code into a ps1 file then execute that it worked flawlessly.
Thanks again James D