Skip to main content

Install Windows App

Summary

This script installs Windows App and creates a shortcut on the Desktop of the logged in user.

NOTE: User must be logged on to the computer to run this script.

File Hash

File Path: C:\ProgramData\_automation\App\Winget\Install-Winget.ps1
File Hash (Sha256): F65D647DBBB9E944CD2342B49E5E870D1353EB71A78BA24516D89763EB0718C6
File Hash (MD5): A0119BAF23B9638917587A295D9A4C0A

Sample Run

Execute the script with SetEnvironment = 1, to import the required EDFs.
Sample Run 1

Normal execution of the script
Sample Run 2

Dependencies

User Parameter

NameExampleRequiredDescription
SetEnvironment1FalseSet it to 1, to import the required EDFs. It is needed to run with SetEnvironment = 1, just after importing the script.

EDFs

NameLevelTypeTabDescription
Windows AppClientCheckboxSoftwareFlag this EDF to enable Auto deployment of Windows App Windows Workstations EDF
Exclude Windows AppLocationCheckboxExclusionsFlag this EDF to exclude the location from Windows App auto-deployment solution EDF
Exclude Windows AppComputerCheckboxExclusionsFlag this EDF to exclude the computer from Windows App auto-deployment solution EDF

Output

  • Script Log