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

Script Slow: VCD Pulling External/Internal IP from Org/vApp

I was curious if any of the script masters could review the following.  This works fine, but it is pretty slow.  I'm hoping that the speed can be improved.  When I query against an organization, vapp,...

View Article


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


Vm - Vapp owner

So in writing a script for Vcloud Director, I want to be able to see who "owns" a VM. It seems like I cannot get the vapp information from the VM. Any ideas? Below is some of the code that I am working...

View Article

how to insert files from physical machines into vmdk

Hi any advise on the script i could use to upload files from host machines in to vmdk directly

View Article

exporting firewall/NAT rules from Edge Gateway

Anyone using a powerCLI script to output firewall/nat rules for Edge Gateways (ver 5.1.2) configured on Org VDC networks for documenation purposes? I've been able to pull plenty of information using...

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

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

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


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

Adding a vApp Template to Cloud from Catalog in vCD with PowerCLI

I've imported the VM's directly from Virtual Center and created a vApp with Import-CIvApp. I've then shutdown and captured to Catalog with assistance from AtanasAtanasov. So now I have 4 Catalogs each...

View Article

Weird error with Search-Cloud...

I ran thw Search-Cloud command for the first time and got error stating it didn't know what "Type" was. So I ran the help and checked the online version of help too and example 2 has the following:...

View Article

Get External IP for VM within vApp

I'm trying to query vCD for the External IP address for a specific VM within a vApp.  I can get the VM and some other information but am having a hard time getting the External IP since it's in a...

View Article


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


Anyone building vCD vApps with powershell?

Hi, I'm trying to write a script to import some (previously backed up) VMs from vCenter into vCD, build up a vapp with them and then save it to a catalog. It's a script to replace a lengthy manual...

View Article

Image may be NSFW.
Clik here to view.

All vCloud VMs in a provider vDC

Trying to get all VMs use a provider. The issue is making the call from the provider to then get all the vApps - it cannot be made this way  Does anyone have a clean way of perfroming this action? ( A...

View Article


Image may be NSFW.
Clik here to view.

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

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

How can I get a vCloud VM's NIC type?

I'm trying to write a script that will compare the NIC type in vCloud to the NIC type in vCenter to help workaround a bug in vCloud 1.5.  I can get a vCenter VM's NIC type by getting the vCenter VM and...

View Article
Browsing all 13334 articles
Browse latest View live


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