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

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


How to get a vm's chain length?

Hello,I'm trying to automate some consolidation of vms and would like to script it. I have over 800 vms so manually would not work.I'd like to$allVApps = Get-CIVAppforeach($CIVm in ($allVApps |...

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

vshield edge Command Line / Power CLI Script for installation

Hi All,  Could you please share the commands / powerl cli script to install vshiled Edge Installation.  We need to automate the Vshiled Edge Installation on Port Group.  Regards,Sunil I B

View Article

How to change catalog default storage policy?

I am trying to change the default storage policy on a organizations catalogOrganization -> Catalogs -> Org Catalog -> Properties -> Storage -> Pre-provision on on specific storage...

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

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

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


Issue with New-OrgNetwork in vCloud 5.1

Hi, I'm trying to create an OrgVDC Network for my newly created OrgVDCs via PowerCLI. Unfortunately I'm getting an erorr stating: New-OrgNetwork : 3/21/2013 2:03:45 PM    New-OrgNetwork        The...

View Article


vCloud Director sVmotion over Powercli

I've created a Script to move VM's over the vCloud Director API to an other Datastore in the same PvDC. (Datastore with the lowest UsedSpace) Here the most important parts:$civm = get-civm...

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

Export all vCloud Edge Gateway rules to CSV file

Hi, For documenation purposes, I need to make a list of all vCloud firewall rules. Specifically, I am looking for Edge name, Rule ID, name, source, source port, destination, destination port, protocol,...

View Article

Get-CIVM returns Not Found - 404

I have VPC OnDemand and I was able to build a new FreeBSD server with a public IP. Everything works fine. But, when I try to play with PowerCLI I am getting an error. Here is what I do. ConnectCIServer...

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

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


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

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


Migrate CIvAPP from one Resource Pool to another?

Hi, I'm looking for a way to migrate/vmotion the VM's in a CIvApp from 1 resource pool to the another in the same OrgVDC. Basically want to vmotion the VM's to another host. The hosts in the other...

View Article

External Networks

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

View Article

New-vm in vCloud Director with PowerCli 5.5

Hi, I have been working with Powercli on scripting the creation of multiple VM's inside a vApp and cant seem to get anywhere with the new-vm command.As each vApp will have a different number of VM's i...

View Article
Browsing all 13334 articles
Browse latest View live


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