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

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


civm createmetadata fails with " Tag is not expected in requests for version...

Hi all, I'm following the directions in this (excellent) article: http://blogs.vmware.com/vipowershell/2012/03/working-with-vcloud-metadata-in-powercli.htmlwhich is the only documented way I've found...

View Article


Sample script to modify vApp (Network, Firewall Rules, Start/Stop Order,...

Hi allI would like to share a script I developed the last few days. What the script does:- Add an internal network called "Internal" with NAT/Firewall to a vApp- Add Firewall rules (f.e. RDP)- Set the...

View Article

Organization vDC Edge Gateway

Been trying to figure out how to create a edge gateway in a vDC with powershell and have gotten nowhere, perhaps someone else can give a hand? So i've tried to check an excisting edge gateway to see...

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


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

The VCD - vCenter Glue - Linking VMs and Events

Hi All I have sucessfully talked to the vCenter running our Blades and hosting vCLoud, and vCloud itself I can see VMs from both sides. 1. What i am looking for is the glue that allows you to link the...

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


new-ciuser?

hi! just created my first Cloud Organisation with vSphere PowerCLI 5.1 with new-org -name "bla" -fullname "blubb" IfI do this on the Web Frontend, the next page will ask me for an admin user for that...

View Article


How get vcloud director version using Powercli 5.1

Hi, After connect to vCD (using Connect-CIServer), how do I get vcloud director version (e.g. 5.1.1 or 1.5.0)? Thanks.

View Article

Image may be NSFW.
Clik here to view.

Storage Profiles

Hello I am doing some testing with powercli and vCloud director. PowerCLI C:\> $storage = Get-OrgVdc -name OrgvdcPowerCLI C:\> $storage.StorageLimitGB200 200 is actually the combined storage from...

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


exporting firewall/NAT rules from Edge Gateway

Anyone using a powerCLI script to output firewall/nat rules for Edge Gateways (ver 5.1.2) configured on Org VDC networks for documenation purposes? I've been able to pull plenty of information using...

View Article

Trying to utilize Powercli to add a new NICs within vCloud 5.1

Hoping someone has used Powercli to automate adding a new "Organization VDC network", choose an "Adapter Type", change the "IP Mode" to manual, and populate the "IP Address" into vCD 5.1 Any help would...

View Article


Find datastore of CI-VAPPTemplate

Hey folks, in our vCloud environment we need to put a datastore into maintenance mode and make a few adjustments. I've come to find out SDRS only works on VMs and not the vAPPTemplates or Media within...

View Article

Add new NIC to VM (like New-CINetworkAdapter)

Hi all I'm trying to find out how to simply add a new NIC to a VM within a vApp. Something like "New-CINetworkAdapter" would be great, but unfortunately does not exist.. Anyone some experience or tipps...

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

Get External IP for VM within vApp

I'm trying to query vCD for the External IP address for a specific VM within a vApp.  I can get the VM and some other information but am having a hard time getting the External IP since it's in 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
Browsing all 13334 articles
Browse latest View live


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