This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Script framework to install applications from a folder. | |
# Name of your installation | |
$name="Remote Desktop Client" | |
# Path of the application installation folder, including the executable of the installer (or ps1. or MSI) | |
$installer="\\wvduserdata.file.core.windows.net\apps-2-install\MSRDC-AVD-Client\Deploy-Application.exe" | |
# Parameter needed for an application (only for exe or ps1 files) | |
$parameters="Install" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
param( | |
[ValidateNotNullOrEmpty()] | |
[ValidateSet('Default', 'StartInternalTask-1', 'StartInternalTask-2', 'StartInternalTask-3', 'CheckInternalTask')] | |
[string] $mode = "Default" | |
) | |
$ErrorActionPreference = "Stop" | |
#region Configuration |