VMware Sample Exchange
Browse and download code samples from VMware as well as code samples contributed by the VMware community. Log in to Sample Exchange using your MyVMware credentials to submit requests for new samples, contribute your own samples, as well as propose a sample as a solution for open requests.
Disclaimer: All sample content and code in Sample Exchange is licensed to you by the sample's author. VMware does not guarantee the samples; they are provided "AS IS". Use of this site is subject to the VMware Community Terms of Use.
Browse the list below for code samples from VMware and the community. You can filter the list of samples by selecting a platform or language, or enter other search keywords above.
Filters
Type
SDK / Platform / Tool
Contributor
Language
- Product provisioning App deployment CICD ScriptThis script provides an example of how the product provisioning APIs of Workspace ONE UEM can be used for Android app deployments. It can be used to automate product delivery to your end-user devices.AirWatch VMware Workspace ONE UEM Python
- Windows - Disable WWAN - Limit Data UsageSample scripts which can be deployed to Windows devices via AirWatch's Product Provisioning. The main use case was to limit data overages from the mobile broadband card, while forcing devices to use L ...AirWatch PowerShell
- macOS - Custom Attributes to discover Microsoft Office 2016 for Mac versionsPaste each script snippet into it's own Custom Attribute payload. Once the AirWatch Agent runs the scripts, the value for the Office App versions will be reported to the console and viewable in the " ...AirWatch Shell Script
- macOS - Custom Attributes for Common System InformationThis contains snippets of code that can be entered in a Custom Attribute payload in order to gather additional system-level information: System Integrity Protection Status Operating System Minor Buil ...AirWatch Shell Script
- macOS - Custom Attributes for McAfee Endpoint for MacThese snippets of shell script were adapted from code provided by a McAfee employee for use in AirWatch. The snippets provide custom attributes that may aid an AirWatch administrator in determining ...AirWatch Shell Script
- Windows - Change and Revert Desktop WallpaperSample scripts which can be deployed to Windows devices via AirWatch's Product Provisioning. These PowerShell scripts will update the desktop wallpaper to the image named 'LaptopWallpaper.png' and whe ...AirWatch PowerShell
- macOS - Custom XML payloads for Microsoft Office 2016 for MacAn XML file containing the plist snippets (<dict>...</dict>) you can optionally deploy via Custom XML payloads in order to bypass the screens shown on first-run of Microsoft Office applications, as we ...AirWatch XML
- macOS - Shell Script to Install Microsoft Office 2016 for MacA script that downloads Microsoft Office 2016 for Mac installers from the Microsoft Office CDN and performs installation of each installer. The script is a modified version of another publicly avail ...AirWatch Shell Script
- Windows - Disable Removable Drive WritesThis script disables writes to removable drives on a Windows 10 Desktop.AirWatch PowerShell
- Windows - How to Import and Export Group PolicyImport Group Policy Overview Author: Chase Bradley Email: cbradley@vmware.com Date Created: 7/11/2017 Tested on Windows 10: 1703 Enterprise Purpose This set of scripts will guide you on how to expor ...AirWatch PowerShell