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

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


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


How can i add a nic to a vapp deployed by vcd1.5

Hi any advise how i can add a nic to a vapp using power cli i'm have powercli 4.1 with vcentre 4.1 U1

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


Deleting CIVM from a CIvApp

Hi, I would like to remove a specific CIVM from a CIvApp. The CIvApp is stopped and powered off. The following bit of code works but performance is inconsistent. Sometimes it takes a few seconds,...

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

Create New Cloud with PowerCli for vSphere 5.5 and vCloud 5.5

HolaHe estado buscando como loco y no he encontrado como hacer lo siguiente.Yo Necesito crear con PowerCli para vSphere 5.5 y vCloud 5.5:- Tag- Storage Policy- ProviderVDC con una politica diferente a...

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


Get-Org failure on Win 8.1 PS 4.0

I've got a script to deploy v-apps on the cloud but on Windows 8.1 with PowerShell 4.0 the Get-OrgVcd fails. It returns nothing whereas on Win7 with Powersehll 3.0 it does return the Org. does anyone...

View Article

Image may be NSFW.
Clik here to view.

get-civm errors with server error with status code 500 - internal server error

I am trying to retrieve vsphere views from vcloud director views. When i try to do that i am geting an error. Get-CIVM works - PowerCLI C:\Program Files (x86)\VMware\Infrastructure\vSphere...

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-civm command piped to get-civapp | owner

Basically I've been researching to see how I might pull some reporting data from VCD. I ran across several sites that provide exactly what I am needing, but the problem is they all use the get-civm...

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

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


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

Issues with vCloud Cmdlets when connecting to a CIServer using SessionID

I'm working on a PowerCLI script that deploys vCloud vApps to multiple OvDCs. The script works great when it's serial, but I have been running into issues when trying to get the deployments to run in...

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

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

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


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