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

Duplicate storage profiles on vCloud

After upgrading the vCloud from 5.1.2 to 5.5 we are unable to create vapp and capture to catlogDuplicate storage profiles on vCloud – i.e, Unable to create new vApp or capture to catlog.Scope of the...

View Article


Modify vApp network - set all to "Retain IP / MAC Resources"

vCloud Director 5.1.3 having a power outage, and looking to modify all vApp networks and set "Reatin IP / MAC Resources" to true so the NAT addresses are retained while vApps are down.   Anyone have a...

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

Mounted medias inventory

Hello, When you connect a media (ISO file) on VCD, there is no place to tell on VCD portal that there is an ISO file mounted on a specific VM. So many ISO stay mounted on VMs without being removed.So...

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


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

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

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


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


How get vcloud director version using Powercli 5.1

Hi, After connect to vCD (using Connect-CIServer), how do I get vcloud director version (e.g. 5.1.1 or 1.5.0)? Thanks.

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

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

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


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


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

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


Is it possible to set the vCloud API Version to use when using PowerCLI?

Hello, PowerCLI Version: 5.5.0.6316PowerShell version: 4 I am automating the creation of vApps and VMs using the tools in PowerCLI.  During testing I have been using two different vCloud Datacentres,...

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

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


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