This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// VMware vRealize Orchestrator action sample | |
// | |
// - Combines two arrays of strings | |
// - Removes duplicate entries | |
// - Alphabetically sorts the array | |
// | |
//Action Inputs: | |
// array1 - Array/string | |
// array2 - Array/string |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
######################################################################################################################## | |
#Script to create a Cloud VM from a template | |
######################################################################################################################## | |
#Setting up the powercli environment | |
C:\"Program Files (x86)"\VMware\Infrastructure\"vSphere PowerCLI"\Scripts\Initialize-PowerCLIEnvironment.ps1 | |
#Connecting to the CI Server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Set the VSAN Host autoclaim mode for VSAN. (This script disables autoclaim) | |
# Reference: http://www.virtuallyghetto.com/2013/09/additional-steps-required-to-completely.html | |
$hosts = Get-Cluster VSAN-Cluster | Get-VMHost | |
foreach($vihost in $hosts) | |
{$esxcli = get-vmhost $vihost | Get-EsxCli | |
$esxcli.vsan.storage.automode.set($true) | out-null} | |
Write-Host "Setting VSAN Disk AutoClaim Mode to 'False'" | |
sleep 5 | |
Write-Host "Done" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Function Move-ESXtoDataCenter { | |
<# | |
.SYNOPSIS | |
Moves a ESX to the location that is specified by the Datacenter parameter | |
.PARAMETER ESXName | |
Specifies the ESX you want to move to another location | |
.PARAMETER DatacenterName | |
Specifies the datacenter where you want to move the ESX | |
.EXAMPLE | |
Move-ESXtoDataCenter -ESXName 10.20.30.40 -DatacenterName 'theDatacenter' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright 2016, VMware, Inc. All Rights Reserved | |
// | |
// VMware vRealize Orchestrator action sample | |
// Reboots a vSphere VM and waits for the guest OS to be | |
// back on the network | |
// | |
// Requires VMtools to be functional in the guest OS. | |
// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright 2016, VMware, Inc. All Rights Reserved | |
// | |
// VMware vRealize Orchestrator action sample | |
// Creates a distributed virtual portgroup on a vlan with static binding and auto expand enabled. | |
// | |
//Action Inputs: | |
// dvSwitch - VC:VmwareDistributedVirtualSwitch | |
// dvPortGroupName - string |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Download EntoEnd.jar from the below link as the file is>10MB to upload here | |
https://confluence.eng.vmware.com/display/RDO/VRA+6.2.x+Blueprint+End-to-End+jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head lang="en"> | |
<meta charset="UTF-8"> | |
<title>VM Web Console</title> | |
<!-- common js/css lib --> | |
<link href="css/wmks-all.css" rel="stylesheet" type="text/css" /> | |
<link href="css/jquery-ui.css" rel="stylesheet" type="text/css" /> | |
<script src="lib/jquery-1.8.3.min.js"></script> | |
<script src="lib/jquery-ui-1.8.16.min.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* vixMntApiSample.cpp -- | |
* | |
* Sample program to demonstrate mounting of vmdk on proxy using | |
* vixDiskLib and vixMntApi DLL. | |
*/ | |
#ifdef _WIN32 | |
#include <windows.h> | |
#include <tchar.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################################################# | |
# | |
# @file : mem-resource-groups.sh | |
# @author : hsadashiv@vmware.com | |
# | |
# This script is used to validate and get the memory related issues from the | |
# all resource groups | |
# | |
################################################################################# |