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
//action Inputs: | |
// vmName - string | |
// | |
//Return Type: VC:VirtualMachine | |
var found = VcPlugin.getAllVirtualMachines(null, "xpath:name[matches(.,'"+vmName+"')]"); | |
if (found.length > 1) { | |
throw(vmName+" matched more than one Virtual Machine"); | |
} | |
if (found.length == 1) { |
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 | |
// | |
// Decodes the 'Product Name' and 'Product Version' from a vSphere license string. | |
// Also does some basic license key format validation | |
// | |
//Action Inputs: | |
// vCenterConnection - VC:SdkConnection | |
// licenseKey - 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
// Copyright 2016, VMware, Inc. All Rights Reserved | |
// | |
// VMware vRealize Orchestrator action sample | |
// | |
// Email Base64 encoded PDF file from Orchestrator | |
// | |
// This sample takes a base64 encoded PDF from a web service and attaches | |
// it to an email message with vRealize Orchestrator. | |
// | |
// Currently this sample requires enabling local process execution. |
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
/****************************************************** | |
* Parses a CSV string as an array of Properties. | |
* The first row of the CSV file is assumed to be | |
* the header row. This row will act as the keys | |
* for each rows "Properties" object. | |
* | |
* Written for VMware vRealize Orchestrator (vRO) | |
******************************************************/ | |
//Action Inputs: |
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
#!/usr/bin/python | |
import sys | |
import getopt | |
import ldap | |
import re | |
issueFound = False | |
def Usage(name): | |
print "Usage: " + name + ''' |
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 VMware, Inc. 2010-2016. All Rights Reserved. | |
* **************************************************************************** | |
* | |
* This software is made available for use under the terms of the BSD | |
* 3-Clause license: | |
* | |
* Redistribution and use in source and binary forms, with or without | |
* modification, are permitted provided that the following conditions |
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 | |
# | |
################################################################################# |
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. | |
// |
NewerOlder