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
- Output Simple vMotion and Cold Migration history report.Output a simple history text report of vMotion or cold migration with PowerCLI. It also gets the user and elapsed time of the operation.VMware PowerCLI PowerShell
- Cross vCenter vMotionCross vCenter vMotion Workflow for vRealize Orchestrator. For further details see https://vbombarded.wordpress.com/2018/03/20/cross-vcenter-vmotion-with-vrealize-orchestrator/vRealize Orchestrator Plug-in SDK vRO Workflow
- Get-VMotionGet-VMotion reports on recent vMotion and Storage vMotion events in your vCenter environment.VMware PowerCLI PowerShell
- vMotion a VM from a vCenter to another vCenter with different SSO domain... //:: # Author: Vikas Shitole //:: # Website: www.vThinkBeyondVM.com //:: # Product/Feature: vCenter Server/DRS/vMotion //:: # Description: Extended Cross VC vMotion using RelocateVM_Task() API. vM ...vSphere Management SDK Java
- Migrate a vm to dvportgroup in a second VC - CrossVC_DVS_vMotion... 1) Migrate a sourceVC powerON/Off VM connected to standard switch portgroup to DVS dvportgroup in a second VC. 2) Migrate a sourceVC powerON/Off VM connected to one dvportgroup to another dvportg ...vSphere Management SDK Java