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

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


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


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

Connect-CIServer to VCD as sysadmin ?

Hello,I do have issues when connecting to VCD using a user as sysadmin role. It works when I log to an org with using user with Org_adminConnect-CIServer -Server 'xxx' -User 'user_org_Admin' -Password...

View Article

How can i add a nic to a vapp deployed by vcd1.5

Hi any advise how i can add a nic to a vapp using power cli i'm have powercli 4.1 with vcentre 4.1 U1

View Article


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

VdcStorageProfiles missing in Orgvdc object (version5.1)

Hi,I'm trying to create organisation VDC's in vCloud 5.1.New to version 5.1 is the use of storage profiles in the provider VDC.I cannot create an Org VDC with storage profiles since this property does...

View Article

Any way to eject all media?

Hi, I am trying to eject the media of all vm's in an org but I am having trouble.  Is there an easy way to do this? As an example with just one vm. PowerCLI C:\Program Files...

View Article


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

External Networks

Does anyone know of a way to create external networks with PowerCLI?

View Article

vCloud Director Change e1000 to VMXNET3 Online

Hi Guys,  I have been made aware of a VMware KB that is supposed to have a script that allows the change of a primary NIC from e1000 / Flexible to VMXNET3 online and it interacts with VMTools to notify...

View Article

Get-Civapptemplate vmtoolsversion

hello! Is it possible to obtain the version of installed VMTools in a vCloud vApp template?

View Article


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

Get and Set NAT config

Hi all, I am trying to read and write the NAT config for a larger vApp with complex rules with PowerCLI as whenever the vApp get's added to a different org from catalog all is gone. This vApp needs to...

View Article


How to get allocated ip addresses on a network within a certain Organization...

Hi,I cannot figure out how to list all VMs and their IP Address on a Network of Allocated IP Addresses broken down by Organizations. I can view this in the vCloud GUI "Cloud Resources |Eternal...

View Article

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


vCD Powercli question....digging through API

Does anyone know how to extract the DateCreated for vApps and VMs via PowerCLI? The dates are readily available in the DB in dbo.vms, but i can't seem to dig it out via PowerCLI.  I've found some...

View Article

Add new NIC to VM (like New-CINetworkAdapter)

Hi all I'm trying to find out how to simply add a new NIC to a VM within a vApp. Something like "New-CINetworkAdapter" would be great, but unfortunately does not exist.. Anyone some experience or tipps...

View Article

Image may be NSFW.
Clik here to view.

Connect-CIServer - Qwirks

Initially when i did the Connect-CIServer i had a -Org "DevTest" Later when i decided to change this in the reporting function per org i ran into trouble. The line with the -SaveCredentials works...

View Article
Browsing all 13334 articles
Browse latest View live