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
- Powercli script for compliance check of baseline with bulletinID as input - VC LevelThis script works at VC level, where it will iterate through all the Datacenters in that VC and provide the compliance report. What the script does: 1. Connects to the VC server 2. Creates a patch bas ...VMware PowerCLI PowerShell
- Powercli script for compliance check of baseline with bulletinID as input - Datacenter LevelThis powercli script works at the datacenter level. This takes datacenter name as the input and does a compliance check against that datacenter in a VC. What the script does: 1. Connects to the VC ser ...VMware PowerCLI PowerShell
- Get-STSCerts.ps1Retrieves the vCenter Security Token Service (STS) signing certificate. Per KB79248 "If the vCenter Server was deployed as version 6.5 Update 2 or later, the Security Token Service (STS) signing cert ...vSphere VMware PowerCLI PowerShell
- Get-VCSACerts.ps1... .NOTES Author: Mark McGill, VMware Last Edit: 5/6/2022 Version 1.4 .SYNOPSIS Returns vCenter certificate information for all VCSA certificates, and optional ...vSphere PowerShell
- vCenter and vROPS Core Monitoring DashboardThis is a must-have dashboard for those who wish to monitor vCenter Appliance partition disk space usage and vROPs disk space usage filling up as well. Both are critical as it can lead to an outage o ...vRealize Operations Manager vRealize Ops Dashboard
- vCenter Server SSL and TLS Security Protocol Configuration Command line ToolvCenter Server / SSL Security Protocol Configuration - Command line utility script utility package on how to automatically enable or disable SSLv3 protocol for 5.0 VC, VCVA ports (50U3g onwards) No ...Other Platform Python
- Assign vCenter tags via VAPI using a single VAPI client to minimize session creationAssign vCenter tags via VAPI using a single VAPI client to minimize session creation. Always creates nonexistent tags, and optionally creates nonexistent tag categories.vRealize Orchestrator Plug-in SDK JavaScript
- Assign a vCenter tag to a VM via VAPIAssign a vCenter tag to a VM via VAPIvRealize Orchestrator Plug-in SDK JavaScript
- Operationalize Your World 6.7A suite of integrated dashboards is the main deliverable of the program. They are not individual, standalone dashboards. They are complimentary and do share super metrics, groups and policies. Requir ...vRealize Operations Manager vRealize Ops Dashboard
- Is HostSystem Compatible for a vCenter VMUse VM-host compatibility checker, which is native to the vCenter plugin, to determine if a host is compatible with a given VM and resource pool. Useful for host-specific placement when cloning direct ...vRealize Orchestrator Plug-in SDK JavaScript