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

How 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 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


powercli 64-bit throws System.OutOfMemoryException

Hi, I am trying to import a multi-vm vApp template in to vCloud Director 1.5 using the import-civapptemplate commandlet. The command fails almost immediately. Any ideas on how to get around this?...

View Article

How 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 Article

Obtain vApp expiration date

Hey All,Im trying to get a vApps expiration date using PowerCLI. I can: $FrankApp = Get-CIVApp -name "Frank" $FrankApp.RuntimeLease Days              : 30Hours             : 0Minutes           :...

View Article


Get-CINetworkAdapter, extremely slow in bulk (20 minutes)

Hi, I'm trying to get all Vm's and thier external ip address, to do some scripted DNS.But it takes almost 20 minutes to complete for 136 machines.  @ PowerCLI 5.1 Release 2 build 1012425 &...

View Article

Unable 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 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


Start-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 Article


Image may be NSFW.
Clik here to view.

get-civm errors with server error with status code 500 - internal server error

I am trying to retrieve vsphere views from vcloud director views. When i try to do that i am geting an error. Get-CIVM works - PowerCLI C:\Program Files (x86)\VMware\Infrastructure\vSphere...

View Article

Set 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

Import-CIVAppTemplate is erroring out with DiskContentsPending error in vCD

Hi, I am trying the  Import-CIVAppTemplate command in PowerCLI for vCloud Director and it is failing as below after some 15% completion.The vAppTemplate import never succeeds after this error.I am...

View Article

Deploy 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 Article


Sample script to modify vApp (Network, Firewall Rules, Start/Stop Order,...

Hi allI would like to share a script I developed the last few days. What the script does:- Add an internal network called "Internal" with NAT/Firewall to a vApp- Add Firewall rules (f.e. RDP)- Set the...

View Article

vCloud: vShield Edge FW Rules

Hi all I'm looking for a way to get and set firewall rules on a vShield Edge firewall in a vCloud environment.  My final target is to write two scripts; one that will export the firewall rules from a...

View Article


Setting Guest Customization Section Fails in 5.5

Hi, Since migrating to vCloud 5.5 the following script fails which worked in 5.1:  $CIVMs = get-CIvApp $CIvAppName | get-civm Foreach ($vm in $CIVMs) { write-host "Customizing" $vm.name...

View Article

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


Unable 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 Article

Import 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 Article

Connect-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 Article
Browsing all 13334 articles
Browse latest View live


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