vApp; 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 Article"Power On and Force Recustomization" PowerCLI
Hi Guys! I cannot find any solution for recustomization VM in vCloud 5.5. The sample of script: $VM_GL = Get-CIVM -Name VMachine -Org $OrgName -OrgVdc $OrgVdcName -VApp $New_Clone...
View ArticleHow to Transfer File to guest in vcloud director sdk
Hi, I'm using vcloud director .net sdk 5.5 to automate the vcloud director operations.I want to transfer a file from my physical machine to the vm and execute it on the vm.In vsphere .net sdk,...
View ArticleVcloudAir freeppace on guests
We are vcloud Air Customers and we also use vcloud Director in our private cloud. I have a powercli script that I use in my private cloud to obtain guest free space on VCD vms. Unfortunately, the...
View ArticleHow to get the href for an object returned from 'search-cloud'
I am currently running the following search-cloud to get Org VDC Network.$network = Search-Cloud -QueryType OrgVdcNetwork -Name 'my_network_name'I then want to get the href of this object. But, this is...
View ArticleList Edge Gateways and their version - PowerCLI
I am looking for a way to list all Edge Gateways deployed in all my ORG VDCs within my vCD 5.6.4 instance. Does anyone have any documentation or examples of how I can find these Edge Gateways and their...
View ArticleInstall VM Tools with vCloud Director & PowerCLI 6.3
I am looking at the PowerCLI cmdlets and cannot find a way to installvmtools. I see it is there in the API, but don't see a way to interface via PowerCLI. Any ideas? PowerCLI Version----------------...
View ArticleCreating Routed Org Network in vCD 9.0.0.2
Hi guys. I can't create Routed Org Network by PowerCLI. PowerCLI version is 6.5.0.234 and vCD for SP version is 8.20.0.2. I'm connected to vCD server and all objects are exists: Org "Test", OrgVDC...
View ArticleCatalog Save in vCD 5.5.2 via PowerCLI - New-CIVAppTemplate - Storage issue
using the below script to power off my vApp, save it, and power it back on. problem is it is not saving to the correct Storage Profile that the Catalog is set to use Is this a bug? connect-CIServer...
View ArticleTrying to find powercli vcloud command to report the date of the first...
Hello, I am trying to locate the proper commands to get two dates: 1. date of the first created or provisioned vm in a vCloud Director Organization2. date of first powered on vm in a vCloud Director...
View ArticleImport and Export of vApp
Hi All, Is it possible to export vApp using PowerCLI? We have DR requirement which stats - All vApp created in DC-A should be available in DC-B.As long as place holder vApp's are available we always...
View ArticleGet 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 ArticleCopy/clone a single VM from an one vApp to another
I posted this question in the vCloud API forum but figured I would post the question here too.Is it possible to copy/clone a VM from an existing vApp to another empty vApp via powershell? I've looked...
View ArticleShut down VM, change hardware and power on VM
Hi there, I'm renting vCloud space via service provider. I'm running some disaster recovery services and have a need to change resources for some VMs inside my rented vDC.I would like to automate...
View ArticleDisable TLS 1.0 in vCloud Director 5.6.x
Has anyone been able to disable TLS 1.0 for cell servers in vCloud Director 5.6.x? The documentation for 5.5.x is the only reference I can find, but the command argument listed no longer exists in...
View ArticleCan not access RecentVCloudServers.xml file
I have a single Windows 2008 R2 machine which acts as a central host (ElectricFlow Agent machine) where PowerShell scripts are executed. These power shell scripts are using the VMWare PowerCLI to...
View ArticleDo "Copy to Catalog" via powercli looking for clues...
I'm automating a template distribution process and need some insight on how to call the "copy to catalog" command via powercli. None of the regular powercli modules seem to have this function. Based on...
View ArticleNeed to get vAPP vswitch info to set it to promiscuous and forged transmits...
I roll out multiple vAPPs with a PowerCLI script and need to add the ability for the script to set the vswitch on the vAPPs internal ESX server to promiscuous and forged transmits. I have looked...
View ArticleGet-Task Error
Hi, I get the following error running get-task. I seems to display the first 3000 odd tasks but then errors: PS C:\> get-taskjobDelete Success 100 11:18:48 AM...
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 Article