
Fill out the download path where you want the script to be downloaded to on the client. Click the “Files” tab and the top and then “Add Files”. In my example, I have a script to disable UAC. Verify you have the correct Organization Group (OG) in the “Managed by” field.
Select “Windows”, then “Windows Desktop”. Then click the “Add Files/Actions” button at the top. First, navigate to Devices –> Staging & Provisioning –> Components –> Files/Actions. The PowerShell executor the Workspace ONE agent uses to execute PowerShell can act weird at times. This is fairly legacy tech and isn’t really being further developed by R&D. I’ve found it to work best for scripts that do configuration during the initial enrollment. Works in parallel to Software Distribution. Can deploy multiple files without having to zip.
It will succeed/fail based on the exit code of the script. No “detection criteria” to worry about – simply fire it off.A very simple way to deploy a basic script with some files.
Method 4 – Script via Freestyle (Coming Soon). Method 2 – Apps & Books (Software Distribution).