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 ArticleCreate vDC Storage Profile Help
I am kind of new to all of this, but I wanted to put together a simple script that would automate my team's administration of vCD. Specifically org and org vDC creation, etc. I pieced together this...
View ArticleMigrate CIvAPP from one Resource Pool to another?
Hi, I'm looking for a way to migrate/vmotion the VM's in a CIvApp from 1 resource pool to the another in the same OrgVDC. Basically want to vmotion the VM's to another host. The hosts in the other...
View ArticlevCloud 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 ArticleNeed to increase Command Timeout from default of 100 seconds
I have a large network with about 1500 IPs assigned to it that is timing out when trying to retrieve it. I need to increase the timeout, How can I do that? This is running against VCD 5.1 PowerCLI...
View ArticleHow to delete a deployed VApp using vCloud Dir PowerCLI commands
Using vCloud 1.5 and PowerCLI, along with some nifty scripts I found online, I can instantiate a vCloud VApp Template and can start and stop the VApp as well, all through vCloud....
View ArticleRemove Catalog?
Does anyone know of a remove catalog command? I know there is a Get-Catalog cmdlet, but I don't see anything to remove one. Thanks. -DB
View ArticleAdding 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 ArticleStorage 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 ArticleVMware 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 ArticleHow 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 ArticleConnect-CIServer - Data at the root level is invalid
Recently the Connect-CIServer cmdlet started failing. I've checked the permissions and they are all ok. For example, the following code: Connect-CIServer - server vcloud.myorg.com -User authorizeduser...
View ArticlePowerCLI/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 ArticleExample 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 ArticleUsing Connect-CIServer in a Start-Job
Has anyone been able to complete something like this? This works perfectly in a plain PoSh window but running in a Start-Job it never gets past the connect-ciserver. The job shows running and...
View ArticleVcloud 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 ArticleGet 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 ArticleAnyone 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 ArticleIssues with vCloud Cmdlets when connecting to a CIServer using SessionID
I'm working on a PowerCLI script that deploys vCloud vApps to multiple OvDCs. The script works great when it's serial, but I have been running into issues when trying to get the deployments to run in...
View ArticleSet Mac address of vCloud VM
Hi For a customer I need to regularly clone a production VM into vCloud for a test-environment. The VM needs to have an identical Mac Address because of some old-fashioned licenses. After cloning, the...
View Article