Private WinGet - PowerShell & Bat Files

Hi team,

Please do correct me if this is already possible but it would be extremely helpful if we could deploy apps via PowerShell or Bat files when deploying from a Nerdio deployed Private WinGet.

Thanks

0

Comments (1 comment)

0
Avatar
Stefan Beckmann

Hi Marcus,

I'm not 100% sure, but I don't think PowerShell and Batch work directly with Winget. However, there are two ways I can recommend:

  1. Use PSAppDeployToolkit to create a wrapper for Winget. You can then use PowerShell or Batch within this shell, which is itself a script framework. You can then use the EXE from PSADT (short name). I use this method whenever possible.
  2. Use Shell Apps, because that's what Shell Apps are made for if you don't want to/can't use Scripted Actions, especially if they are to be used in a policy.

I hope this helps and that you can solve your use case with it.
Stefan

Please sign in to leave a comment.