Quantcast
Channel: VMware Communities : Popular Discussions - vCloud Director PowerCLI
Browsing all 13334 articles
Browse latest View live

vApp; Add custom Guest Properties failes

Hi All,I tried to add some custom Guest Properties to a vApp which is already deployed according to this blog entry:https://communities.vmware.com/thread/442664 My current script looks like this:...

View Article


Build URLs for: VM Console, vCloud Director vApp, VM properties in vSphere

Hi all I made a script to generate URLs for the following access:- Open a VM's Console in vSphere Web Client- Open vApp (to which the VM corresponds to) in vCloud Director- Open the VM's Summary Tab in...

View Article


Connect-CIServer -Server vcloud.ourdomain.com Issues

Hi I have now tried PowerCLI with ESX and vCenter, so far so good.We have a vCLoud Area as well (v5.5) So when i listed the VMs in vCenter, for area folder 'vCloud Director' this worked but the links...

View Article

Image may be NSFW.
Clik here to view.

Connect-CIServer - Qwirks

Initially when i did the Connect-CIServer i had a -Org "DevTest" Later when i decided to change this in the reporting function per org i ran into trouble. The line with the -SaveCredentials works...

View Article

Error when cloning a VM related to vCloud Director

Hey there!I have the following cmdlet:  New-VM -Name ClonedVM -VM SourceVM -Datastore NewDS -VMHost ESXi -Location Folder -Confirm:$false The problem is that I'm trying to clone a VM that is a part of...

View Article


Snapshots with vCloud Director 5.1 & PowerCLI 5.1

(cross-post from vCloud forum) Now that vCloud Director 5.1 supports snapshots, I am looking at the  PowerCLI 5.1 cmdlets and cannot find a way to create/manage/revert  snapshots.  I see it is there in...

View Article

Accessing vCloud REST API with Powershell

Hello,      I have come to the conclusion that the new vCLoud cmdlets are not enough for what I plan on doing, and I plan to extend upon the cmdlets by using the API via REST. I have been fiddling with...

View Article

vApp Guest Customization

Hi I am trying to uncheck the 'guest customization' box for each of my Virtual Machines within the vApp I have created. Is there a PowerCLI command I can run to do this instead of manually going into...

View Article


Example for configuring VM's "guest properties" (i.e. OVF settings)

Following is an example for configuring a VM's "guest properties" (in vSphere this is called "OVF settings/environment") using PowerCLI (or API).Note that this script was designed to run as an "org...

View Article


Gateway address and subnet mask have to be provided...

I am trying to get this script working for creating an OrgNetwork in vCD 5.1.  When I run it I get an exception saying that "Gateway address and subnet mask have to be provided when creating...

View Article

Start-Job with PowerCLI not working

This script never gets past the first write-host line in the start-job...   # Do work$csv = Import-Csv tmpbuild.csv foreach ($item in $csv) {    Start-Job -RunAs32 -ScriptBlock {            # Add...

View Article

How Can I Set the Customization Script for all VMs in a vApp

Using the .ExtensionData method found here: http://communities.vmware.com/thread/392462?start=0&tstart=0 (Thanks alanrenouf)I'm able to set some guest customization properties via PowerCLI.  My...

View Article

Sample Script: Creating an Empty vApp with vCloud PowerCLI

Hi Everyone, The New-CIVApp cmdlet does not allow us to create empty vApps (which can be useful when templating out network configurations, for example). This shortcoming can be overcome by calling the...

View Article


Report containing vCloud vApps names w/ source vApp template names

Can I use PowerCLI to list vCD vApps along with their source vApp Template? I'm looking for something like the following: vApp NamevApp Template NamevApp1vApp2vApp3LAMP-1.2LAMP-1.2SharePoint-1.5...

View Article

Create New Cloud with PowerCli for vSphere 5.5 and vCloud 5.5

HolaHe estado buscando como loco y no he encontrado como hacer lo siguiente.Yo Necesito crear con PowerCli para vSphere 5.5 y vCloud 5.5:- Tag- Storage Policy- ProviderVDC con una politica diferente a...

View Article


vCloud: vShield Edge FW Rules

Hi all I'm looking for a way to get and set firewall rules on a vShield Edge firewall in a vCloud environment.  My final target is to write two scripts; one that will export the firewall rules from a...

View Article

vCloud Director Storage Profiles

Hi all I'm trying to put together a script to setup new Organisation and Virtual Datacentres in our vCloud 5.1 environment.  The problem I've come up against is that I can't specific what storage...

View Article


Creating new Organization with specific Storage Profile

Been working on this a few hours now, but just can't seem to get it to work. Creating an organization with the Any(*) storage profile works, but as soon as i remove that profile and leave only the ones...

View Article

Setting properties of VMs in a vApp

I have a few vApps with 25 VMs each in vCloud Director and would like to set a few properties to on / off with PowerCLI as the gui is a mission. These options include: Set "Enable guest customization"...

View Article

vApp; Add custom Guest Properties failes

Hi All,I tried to add some custom Guest Properties to a vApp which is already deployed according to this blog entry:https://communities.vmware.com/thread/442664 My current script looks like this:...

View Article
Browsing all 13334 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>