If required, you can create custom PowerShell scripts to run before and/or after the desktop application reconfiguration.
-
The Desktop Update Agent will wait a maximum of two minutes for any script to complete.
-
The option to use a script is set as part of the switch task; however, for security and compliance reasons, the script deployment is not done through On Demand Migration.
-
Project administrators need to deploy the required PowerShell scripts to end user computers to these directories:
C:\ProgramData\Quest\DUA\Script\PreScript and C:\ProgramData\Quest\DUA\Script\PostScript. -
Only a single script should be deployed to each directory.
-
The pre and post configuration scripts can be different, and it is not required to have both.
-
Sample scripts are include here:
C:\ProgramData\Quest\DUA\Script\PreScript\quest.sample.pre.ps1
C:\ProgramData\Quest\DUA\Script\PostScript\quest.sample.post.ps1
|
|
NOTE: The Quest-provided sample scripts will be ignored if DUA finds any other PowerShell script in the same directory. |