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 - 5 of 5 Results Sample Encryption
  • vSAN Encryption Sample Module

    Contributor Jase McCarty

    This module provides several functions that are relevant to vSAN Encryption Export-ModuleMember -Function Invoke-VsanEncryptionRekey Export-ModuleMember -Function Set-VsanEncryption Export-ModuleMembe ...
    VMware PowerCLI PowerShell
    Download

    329 Downloads

    0 Comments

    Updated 2 years ago

  • Sample vSAN Encryption Report

    Contributor Jase McCarty

    This script shows a basic enumeration of vSAN Encryption reporting using the Get-VsanView cmdlet.   It shows overall health as well as some detailed reporting.   Requires PowerCLI 6.5.1 (or higher) an ...
    VMware PowerCLI PowerShell
    Download

    669 Downloads

    3 Comments

    Updated 2 years ago

  • PowerCLI Port of RVC command vsan.cluster_info

    Contributor Jase McCarty

    This script includes a function that reports the vSAN Cluster information for a vSAN Cluster. Information included is: Host configurations vSAN Witness Host configuration (if Stretched Cluster or 2 N ...
    VMware PowerCLI PowerShell
    Download

    321 Downloads

    0 Comments

    Updated 2 years ago

  • vSAN 6.6 Encryption Rekey

    Contributor Jase McCarty

    This script will initiate a Rekey of a vSAN Cluster. Shallow Rekeying (KEK Only) or Deep Rekeying (DEK Also) are supported, as well as Reduced Redundancy if necessary. This requires PowerCLI 6.5.1 a ...
    VMware PowerCLI PowerShell
    Download

    437 Downloads

    0 Comments

    Updated 3 years ago

  • Check vSAN KMS Circular Dependency

    Contributor Jase McCarty

    .DESCRIPTION This script will look to see if a KMS Server is running on the same Encrypted vSAN Datastore that it is providing Key Management Services for. Tested on vSAN 6.6 and PowerCLI 6.5.4 The KM ...
    VMware PowerCLI PowerShell
    Download

    602 Downloads

    1 Comment

    Updated 3 years ago