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

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


Import LDAP Users

Has anyone attempted to import LDAP users via PowerCLI?  I have a list of 65 users that need to be imported and I would like to save some time on all the clicks.  I'm hoping I can get the information...

View Article


Trouble adding more "CIVM" to a "CIVApp" in vCloud via PowerCLI 5.5

Hi All,I am having trouble performing some tasks in PowerCLI that I can do easily in the GUI. Firstly, in the vCloud Director GUI, I can create a new vApp from a template that has one machine in it. I...

View Article

DTD is prohibited in this XML document

I am trying to use "connect-ciserver <servername>", and after entering my credentials, I get the following error message: Connect-CIServer : 5/10/2012 2:22:57 PM    Connect-CIServer        For...

View Article

Image may be NSFW.
Clik here to view.

All vCloud VMs in a provider vDC

Trying to get all VMs use a provider. The issue is making the call from the provider to then get all the vApps - it cannot be made this way  Does anyone have a clean way of perfroming this action? ( A...

View Article


Obtain vApp expiration date

Hey All,Im trying to get a vApps expiration date using PowerCLI. I can: $FrankApp = Get-CIVApp -name "Frank" $FrankApp.RuntimeLease Days              : 30Hours             : 0Minutes           :...

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

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


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

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

vCloud Director Change e1000 to VMXNET3 Online

Hi Guys,  I have been made aware of a VMware KB that is supposed to have a script that allows the change of a primary NIC from e1000 / Flexible to VMXNET3 online and it interacts with VMTools to notify...

View Article

Clone VApp Template to another Org

I am trying to clone a VAPP template from a VDC in OrgA to a VDC in OrgB in vCloud Directory 5.5 A snippet of the script is below: $sourceVappTmpl = Get-CIVappTemplate -Name 'myvapp' $destOrgVdcName =...

View Article


Any way to eject all media?

Hi, I am trying to eject the media of all vm's in an org but I am having trouble.  Is there an easy way to do this? As an example with just one vm. PowerCLI C:\Program Files...

View Article

Working with vCloud Metadata in PowerCLI

Based on Jake Robinson's post at GeekAfterFive - Infrastructure as Code, it seems the sample scripts in Alan Renouf's March 30, 2012 post to the VMware PowerCLI Blog, Working with vCloud Metadata in...

View Article


Vcloud powerCLi - VM inventory report

HI all, So i wrote this quick script to generate a report of VMs info and more specifically, who owns them. The issue is that I am getting some rows with nothing but the Owner, and all the other...

View Article

How can i add a nic to a vapp deployed by vcd1.5

Hi any advise how i can add a nic to a vapp using power cli i'm have powercli 4.1 with vcentre 4.1 U1

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

Unable to connect to VCloud Director 5.1 build 5.1.1.868405

Hi. We are not able to connect to a VCloud Director ver. 5.1.1 868405.  When we try a: connect-ciserver   we get the following error:   Connect-CIServer        The underlying connection was closed: The...

View Article

External Networks

Does anyone know of a way to create external networks with PowerCLI?

View Article
Browsing all 13334 articles
Browse latest View live


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