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

Does anyone know how to recompose a vcloud vapp from powercli without having...

I’m struggling to find out how to do this.  There doesn’t appear to be much out there (or more likely I can’t find it).  It seems to me like this would be a common task, so there must be a way to do...

View Article


Question: sVmotion and vCloud Director - updating VM's storage profile

Hi, I'm going to migrate a lot of vApps/virtual machines running in vCloud Director to a new storage system, and have created new Storage Profiles for this... I've found info and tried out some...

View Article


firewall rules

hi! is there a way to set ports or firewall rules with the powerCLI? Only found set-ciAccessControlRules but that doesn't seem to bethe right cmdlet... thanks. Ralf.

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

missing PowerCLI cmdlets for external network settings in vCD 5.1?

I have 59 external networks defined in my Provider VDC and over a hundred directly connected OrgVDC networks mapping back to those. I need to update the DNS records for the static IP pools associated...

View Article


Accessing vCloud REST API with Powershell

Hello,      I have come to the conclusion that the new vCLoud cmdlets are not enough for what I plan on doing, and I plan to extend upon the cmdlets by using the API via REST. I have been fiddling with...

View Article

External Networks

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

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


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


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

Vcloud powerCLi - VM inventory report

HI all, So i wrote this quick script to generate a report of VMs info and more specifically, who owns them. The issue is that I am getting some rows with nothing but the Owner, and all the other...

View Article

Automate DRS groups affinity in a vcloud environment

Hi, I'm trying to automate affinity rules for drs groups manger on a vcloud cluster.The idea is to let certain VMs run on assigned esx hosts.We do not create the vm's ourself -> our customers...

View Article

DTD is prohibited in this XML document

I am trying to use "connect-ciserver <servername>", and after entering my credentials, I get the following error message: Connect-CIServer : 5/10/2012 2:22:57 PM    Connect-CIServer        For...

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

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


PowerShell Script to move VM's between vCloud vApps

Hi, I am looking to build a powershell script which will allow me to move/migrate the VM's from vApp in a Org vDC to another vApp in another Org vDC in the same organization. I was Import-CIVApp...

View Article

Gateway address and subnet mask have to be provided...

I am trying to get this script working for creating an OrgNetwork in vCD 5.1.  When I run it I get an exception saying that "Gateway address and subnet mask have to be provided when creating...

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


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