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.
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.
SDK / Platform / Tool
Desktop & App Virtualization
Hybrid Cloud & Data Center Infrastructure
Private & Hybrid Cloud
Storage & Availability
Virtual Cloud Networking
- Update the current SCSI Controller for a Virtual MachineThis script will update the SCSI Controller for a Virtual Machine. It does not check to see if the VM is configured for a 64-bit Guest OS (BusLogic isn't supported) It does check to see if VMware Tool ...VMware PowerCLI PowerShellDownload
Updated1 year ago
- Backup or Restore SPBM Profiles in vCenterThis script will either export SPBM policies to a folder or import SPBM policies from a folder. Tested on vCenter 6.5 with PowerCLI 6.5, but should work with earlier versions. Syntax is: To Backup SPB ...VMware PowerCLI PowerShellDownload
Updated2 years ago