I reinstall windows all day on client pcs.
Right now I am using as script to download apps through winget, but it requires me to manually download the app installer every time through the GUI.
It is possible or am I stuck using the GUI?
71 Answer
You may install winget using PowerShell with the following
commands:
Invoke-WebRequest -Uri "" -OutFile "C:\PS\WinGet.msixbundle"
Add-AppxPackage "C:\PS\WinGet.msixbundle"(You may modify the path of C:\PS as required.)
The version v1.1.12653 is the latest version at the moment.
The current latest and other versions can be found at theReleases folder.
Note: The program is supposed to be installed as part of the Windows 10 21H1 version, so should already exist on your computer(s).
1