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

Anyone building vCD vApps with powershell?

Hi, I'm trying to write a script to import some (previously backed up) VMs from vCenter into vCD, build up a vapp with them and then save it to a catalog. It's a script to replace a lengthy manual...

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


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

vCloud Director change organization limits

Hi, I have been able to find most organization settings, but cannot find where to set these using PowerCLI: Number of resource intensive operations per userNumber of resource intensive operations per...

View Article

How can I get a vCloud VM's NIC type?

I'm trying to write a script that will compare the NIC type in vCloud to the NIC type in vCenter to help workaround a bug in vCloud 1.5.  I can get a vCenter VM's NIC type by getting the vCenter VM and...

View Article


missing PowerCLI cmdlets for external network settings in vCD 5.1?

I have 59 external networks defined in my Provider VDC and over a hundred directly connected OrgVDC networks mapping back to those. I need to update the DNS records for the static IP pools associated...

View Article

Issue with New-OrgNetwork in vCloud 5.1

Hi, I'm trying to create an OrgVDC Network for my newly created OrgVDCs via PowerCLI. Unfortunately I'm getting an erorr stating: New-OrgNetwork : 3/21/2013 2:03:45 PM    New-OrgNetwork        The...

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


vCloud Director - PowerCLI Cloud Module - Deploy vApp from Template

I would like to know if there is a native function in the new Cloud module to deploy a vApp from a public catalog template inside an Org and set the following parameters vAppNameVirtual Machine...

View Article


PowerCLI for media replication with vCloud 5.1

We have several different vCloud instances each housing several distinct vOrgs (each vCloud instance has a Cloudlibrary vOrg for making ISOs available). I'm looking for a way to replicate media from...

View Article

vCD - Get VM quantity of each Organization

Hi all,I need to export a nice, simple report, with two columns:Organization Name | Number of VMs I need all the VMs in each Org (both running and not running). I know there's a function getting this...

View Article

VdcStorageProfiles missing in Orgvdc object (version5.1)

Hi,I'm trying to create organisation VDC's in vCloud 5.1.New to version 5.1 is the use of storage profiles in the provider VDC.I cannot create an Org VDC with storage profiles since this property does...

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


Adding a vApp to Catalog in vCD with PowerCLI

I would like add a vApp to a Catalog via PowerCLI. I can't see any methods under the extensiondata of the vApp that allow for this. Then I thought maybe I need to look from the Catalog side and could...

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


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

PowerCLI/API for update storage profile in vDC

Hi,I found how to add or remove storage profile via vcloud API (VMware vCloud Director Documentation Center), but does anyone know how to do update (change size or disable) storage profile via API or...

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

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

VMware vCloud Storage vmotion by Datastore and vDC ( Resource Pool )

This Shell will help you migrate the vm's between datastores that are managed by vcloud director (  Resource pool ) from the vi probably you will get an error the are insufficient for the operation and...

View Article
Browsing all 13334 articles
Browse latest View live


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