https://schneegans.de/windows/unattend-generator/
-
Go to Microsoft Store.
-
Search for your desired app.
-
Copy the ID from the URL. For example:
9WZDNCRFJ3TJ. -
Run the following command to install the app:
winget install 9WZDNCRFJ3TJ -s msstore
##Install Chocolatey
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))