Get-Org failure on Win 8.1 PS 4.0
I've got a script to deploy v-apps on the cloud but on Windows 8.1 with PowerShell 4.0 the Get-OrgVcd fails. It returns nothing whereas on Win7 with Powersehll 3.0 it does return the Org. does anyone...
View ArticleConnect-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 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 ArticlevCloud 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 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 ArticleMounted medias inventory
Hello, When you connect a media (ISO file) on VCD, there is no place to tell on VCD portal that there is an ISO file mounted on a specific VM. So many ISO stay mounted on VMs without being removed.So...
View ArticleSetting 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 ArticleHow to find the storage of a VM in Cloud director
Hi All, When I use the below command Get-CIVM -OrgVdc "MyOrgVDC1", it lists all the VMs under the Organization VDC. And for each VM it gives the vCPU and Memory details. I also want the storage of the...
View ArticleDeploy vApp from template while giving the deployed vApp a name, the VMs...
Hello, I am trying to deploy a vApp from a template in the catalog, I have been successful creating the vApp using...
View ArticlevApp Guest Customization
Hi I am trying to uncheck the 'guest customization' box for each of my Virtual Machines within the vApp I have created. Is there a PowerCLI command I can run to do this instead of manually going into...
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 ArticleUnable 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 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 ArticleHow Can I Set the Customization Script for all VMs in a vApp
Using the .ExtensionData method found here: http://communities.vmware.com/thread/392462?start=0&tstart=0 (Thanks alanrenouf)I'm able to set some guest customization properties via PowerCLI. My...
View ArticleDuplicate storage profiles on vCloud
After upgrading the vCloud from 5.1.2 to 5.5 we are unable to create vapp and capture to catlogDuplicate storage profiles on vCloud – i.e, Unable to create new vApp or capture to catlog.Scope of the...
View ArticleHow do you resize a CIVM disk?
Wasn't sure if this is possible w/ PowerCLI and the current vCloud module.
View ArticleGet-Civapptemplate vmtoolsversion
hello! Is it possible to obtain the version of installed VMTools in a vCloud vApp template?
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 ArticleHow to get a vm's chain length?
Hello,I'm trying to automate some consolidation of vms and would like to script it. I have over 800 vms so manually would not work.I'd like to$allVApps = Get-CIVAppforeach($CIVm in ($allVApps |...
View Article