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

Import LDAP Users

Has anyone attempted to import LDAP users via PowerCLI?  I have a list of 65 users that need to be imported and I would like to save some time on all the clicks.  I'm hoping I can get the information...

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

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

Image may be NSFW.
Clik here to view.

Adding two new Storage Policies to a couple of OrgvDCs

Hi , I have a working script for adding a new Storage Policy to a named OrgvDC (Thanks to 900 Foot VM)Now my Customer would like to add two new Storage Policies (already attached to the PvDC) to ~60...

View Article


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

Find datastore of CI-VAPPTemplate

Hey folks, in our vCloud environment we need to put a datastore into maintenance mode and make a few adjustments. I've come to find out SDRS only works on VMs and not the vAPPTemplates or Media within...

View Article

vCloud Director Storage Profiles

Hi all I'm trying to put together a script to setup new Organisation and Virtual Datacentres in our vCloud 5.1 environment.  The problem I've come up against is that I can't specific what storage...

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


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

How to run vCD powershell cli via RSH

I am trying to run vCloudDirector powerCli via rsh.I ran vSphere powerCli with the following options successfully. But when I try to connect to the vCD, it could not recognize the vCD commands.I am...

View Article

Adding vShield Edge NAT rules from a CSV file using PowerCLI

I recently read Alan's great post on adding NAT rules here: http://www.virtu-al.net/2014/07/24/working-vcd-edge-gateway-rules-powercli/I have used this successfully for single rules in a lab...

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


Image may be NSFW.
Clik here to view.

Adding networks to vApps in vCloud Director

Has anyone been down this road? I need to script the adding and deleting of networks in the vApp. Is it possible in PowerCLI or the ExtensionData to: - Delete a network from a vApp - Add a...

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


Adding a vApp to Catalog in vCD with PowerCLI

I would like add a vApp to a Catalog via PowerCLI. I can't see any methods under the extensiondata of the vApp that allow for this. Then I thought maybe I need to look from the Catalog side and could...

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

VMware vCloud Storage vmotion by Datastore and vDC ( Resource Pool )

This Shell will help you migrate the vm's between datastores that are managed by vcloud director (  Resource pool ) from the vi probably you will get an error the are insufficient for the operation and...

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>