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
- Firewall Exception ToolFirewall Exception Tool Overview Author: Mike Nelson Email: miken@vmware.com Date Created: 02/26/2018 Tested on: Windows 10 1709 SYNOPSIS This script takes an Excel spreadsheet as input and generate ...AirWatch PowerShell
- PowervRNI - Bulk import of data sourcesThis script uses an input CSV (example: datasource-bulk-import.csv) to add multiple vRealize Network Insight Data Sources. Modify datasource-bulk-import.csv to contain your own data sources (vCenters, ...vRealize Network Insight vRealize Network Insight API Network Insight PowerShell
- PowervRNI - Import Network Insight Applications from iTop CMDBThis sample requests the CMDB items from iTop and imports the applications that are created inside iTop, into Network Insight application constructs. It requires the PowervRNI module to be installed, ...vRealize Network Insight API vRealize Network Insight Network Insight PowerShell
- get-horizon-wso-mode-detailsGet details of Workspace ONE Mode on a Horizon Connection Server get-horizon-wso-mode-details Get the status and details of Workspace ONE Mode on a Horizon Connection Server Workspace ONE Mode Turned ...Horizon PowerShell
- list-horizon-agent-featuresList the locally installed Horizon Agent Features list-horizon-agent-features There is no support for this tool - it is provided as-is Please provide any feedback directly to me - my contact inform ...Horizon PowerShell
- HCX Migration Scripts... . HCX Migration Scripts These are the migration scripts that I produced with Bilal Ahmed, to automate the HCX migrations and failback capabilities. Blog Posts These blog posts describe the usage ...VMware HCX PowerShell
- Enable or Disable Horizon Desktop or Application PoolProvides command line option to update the application or desktop pool status as enabled or disabled. When to Use: To restrict end user connections to application/desktop pools by disabling it and lea ...Horizon PowerShell
- ABX Action - Salt Minion ConfigThe ABX Action allows you to specify grain key/value pairs and execute a highstate as part of the blueprint deployment. It also will clean-up the minion keys in the Salt Master if the deplolyment is d ...vRealize Automation vRealize Automation SaltStack Config SecOps PowerShell
- Dismount VM CDUnmounts any CD/DVD ISO image including VMware tools installer, and sets drive selection to "Client Device". Will also detect stale CDROM ISO path Based on https://kb.vmware.com/s/article/66581 and ca ...vSphere PowerShell
- CODE1458 API SamplesSamples for VMworld Session CODE1458App Volumes Horizon 7 VMware Workspace ONE UEM Identity Manager PowerShell