Report containing vCloud vApps names w/ source vApp template names
Can I use PowerCLI to list vCD vApps along with their source vApp Template? I'm looking for something like the following: vApp NamevApp Template NamevApp1vApp2vApp3LAMP-1.2LAMP-1.2SharePoint-1.5...
View ArticlevCloud 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 ArticlevApp; 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 Articleget-civm command piped to get-civapp | owner
Basically I've been researching to see how I might pull some reporting data from VCD. I ran across several sites that provide exactly what I am needing, but the problem is they all use the get-civm...
View ArticleHow 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 ArticleAdding two new Storage Policies to a couple of OrgvDCs
Hi , I have a working script for adding a new Storage Policy to a named OrgvDC (Thanks to 900 Foot VM)Now my Customer would like to add two new Storage Policies (already attached to the PvDC) to ~60...
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 ArticleHow 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 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 ArticleStart-Job with PowerCLI not working
This script never gets past the first write-host line in the start-job... # Do work$csv = Import-Csv tmpbuild.csv foreach ($item in $csv) { Start-Job -RunAs32 -ScriptBlock { # Add...
View ArticleCreating 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 ArticleThe 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 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 ArticleAdd 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 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 ArticleDTD 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 ArticleHow to change Storage Profile of VM in vAppTemplate?
Hi everyone, I've got a project in front of me to migrate existing VMs from an existing storage profile or the * profile to a newly created storage profile. I've determined how to get this done for...
View ArticleNew-vm in vCloud Director with PowerCli 5.5
Hi, I have been working with Powercli on scripting the creation of multiple VM's inside a vApp and cant seem to get anywhere with the new-vm command.As each vApp will have a different number of VM's i...
View ArticleAdding 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 ArticlePowerCLI 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