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

Import-CIVAppTemplate is erroring out with DiskContentsPending error in vCD

Hi, I am trying the  Import-CIVAppTemplate command in PowerCLI for vCloud Director and it is failing as below after some 15% completion.The vAppTemplate import never succeeds after this error.I am...

View Article


Is it possible to set the vCloud API Version to use when using PowerCLI?

Hello, PowerCLI Version: 5.5.0.6316PowerShell version: 4 I am automating the creation of vApps and VMs using the tools in PowerCLI.  During testing I have been using two different vCloud Datacentres,...

View Article


Image may be NSFW.
Clik here to view.

get-civm errors with server error with status code 500 - internal server error

I am trying to retrieve vsphere views from vcloud director views. When i try to do that i am geting an error. Get-CIVM works - PowerCLI C:\Program Files (x86)\VMware\Infrastructure\vSphere...

View Article

Get vDC Storage Policy quota

Hello. I want to retrieve the storage policies quota assigned to an Org vDC using PowerCLI. I initially tried to retrieve this information using $orgvDC.StorageLimitGB but this gives me the sum of the...

View Article

Appending Firewall Rules to vShield Edge with PowerCLI Script

Hi, I have a script which enables us to upload 4k worth of firewall rules, but every time it executes, all existing rules are over written. Is this something to do with the API or just a scripting...

View Article


vCloud VM Monthly report vCpu|RAM|Storage

Hello , I am looking for script which will provide   Monthly report of  vCpu/ RAM & Storage  utilization by each  Individual vCloud  Director   Virtual Machine If the vCloud Director script is not...

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

External Networks

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

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


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 a VM to a vApp using PowerShell

Hello, I am trying to add a VM to a vApp using PowerShell.  I know that there is no explicit cmdlet to do it, and I need to recompose the vApp. I've used the great Instantiation script from...

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

PowerShell Script to move VM's between vCloud vApps

Hi, I am looking to build a powershell script which will allow me to move/migrate the VM's from vApp in a Org vDC to another vApp in another Org vDC in the same organization. I was Import-CIVApp...

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

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


How to run vCD powershell cli via RSH

I am trying to run vCloudDirector powerCli via rsh.I ran vSphere powerCli with the following options successfully. But when I try to connect to the vCD, it could not recognize the vCD commands.I am...

View Article

Adding vShield Edge NAT rules from a CSV file using PowerCLI

I recently read Alan's great post on adding NAT rules here: http://www.virtu-al.net/2014/07/24/working-vcd-edge-gateway-rules-powercli/I have used this successfully for single rules in a lab...

View Article


update vdc (allocation pool org vdc elastic)

Hello, I'm trying to update allocation pool vcpu speed settings (enabled elastic pool org vdc), but powercli supports only PAYG model. example:Get-OrgVdc -Name "arunas dev vdc"|select...

View Article

PowerCLI 5.0.1 vCloud cmdlets: get-orgvdc bug, ProviderVdcReference.id...

Hi, 1) Get-OrgVdc bug If your vDC name contains space (e.g. "my vDC"), the following command will fail because the REST API call is not urlencoded (%20 instead of space):$all_powered_on_vms =...

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
Browsing all 13334 articles
Browse latest View live