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

SDK / Platform / Tool

  • App Modernization

  • Cloud Management

  • Compute Virtualization

  • Desktop & App Virtualization

  • Developer Tools

  • Digital Workspace

  • Hybrid Cloud & Data Center Infrastructure

  • Hyperconverged Infrastructure

  • Multi-Cloud Operations

  • Private & Hybrid Cloud

  • Storage & Availability

  • Virtual Cloud Networking

  • Other Platform

Contributor

Language

1 - 10 of 25 Results Sample vROPS
  • Custom Data Center Costs with OPEX and CAPEX breakdown.

    Contributor Joseph Tietz

    ***Custom Datacenters should be made with clusters, I do provide metrics to use different vCenters but I still working out few bugs where depth calculations do not always compute.  ******* There are 1 ...
    vRealize Operations Manager vRealize Ops Dashboard
    Download

    246 Downloads

    0 Comments

    Updated 2 years ago

  • MB Config Max Logical CPUs Remaining per host

    Contributor John Dias

    Displays the number of LUNs that can be added to an ESXi host based on the vSphere 6.7 Configuration Maximums. Assumes 1:1 LUN to Datastore Ratio.
    vRealize Operations Manager vRealize Ops Super Metrics
    Download

    276 Downloads

    0 Comments

    Updated 1 year ago

  • MB Config Max ESXi LUNs Remaining

    Contributor John Dias

    Displays the number of LUNs that can be added to an ESXi host based on the vSphere 6.7 Configuration Maximums. Assumes 1:1 LUN to Datastore Ratio.
    vRealize Operations Manager vRealize Ops Super Metrics
    Download

    335 Downloads

    0 Comments

    Updated 1 year ago

  • vSAN Cache Disk Encryption Status

    Contributor Matt Bradford

    Returns a value of 0 or 1 depending on whether or not the selected vSAN cache disk is encrypted. This can then be consumed in heatmaps.
    vRealize Operations Manager vRealize Ops Super Metrics
    Download

    330 Downloads

    0 Comments

    Updated 1 year ago

  • vSAN Capacity Disk Encryption Status

    Contributor Matt Bradford

    Returns a value of 0 or 1 depending on whether or not the selected vSAN ca disk is encrypted. This can then be consumed in heatmaps.
    vRealize Operations Manager vRealize Ops Super Metrics
    Download

    322 Downloads

    0 Comments

    Updated 1 year ago

  • vSAN Host Encryption Status

    Contributor Matt Bradford

    Returns a value of 0 or 1 depending on whether or not the selected vSAN host has encryption enabled. This can then be consumed in heatmaps.
    vRealize Operations Manager vRealize Ops Super Metrics
    Download

    214 Downloads

    0 Comments

    Updated 1 year ago

  • ESXi Host down

    Contributor Rick Verstegen

    Displays the number of ESXi Host(s) that are down.
    vRealize Operations Manager vRealize Ops Super Metrics
    Download

    586 Downloads

    0 Comments

    Updated 1 year ago

  • VM Uptime

    Contributor Iwan Rahabok

    ... http://virtual-red-dot.info/vm-availability-monitoring/ The up time of a VM is more complex than that of a physical machine. Just because the VM is powered on, does not mean the Guest OS is up and ...
    vRealize Operations Manager vRealize Ops Super Metrics
    Download

    836 Downloads

    0 Comments

    Updated 1 year ago

  • Cluster Total VM RAM Allocated

    Contributor Rick Verstegen

    Provides you total allocated memory of all VMs in a cluster based on GB or TB.
    vRealize Operations Manager vRealize Ops Super Metrics
    Download

    310 Downloads

    0 Comments

    Updated 1 year ago

  • VRealize Operations Maintenance Mode

    Contributor Alan Renouf

    vRealize Operations Maintenance Mode   Places a vSphere Inventory object into maintenance mode in vRealize Operations   Example Set All VMs with a name as backup as being in maintenance mode for 20 mi ...
    VMware PowerCLI PowerShell
    Download

    957 Downloads

    1 Comment

    Updated 10 days ago