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

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


Script to get NSX Edge and Organization in csv

Hi, I'm trying to put a script together to export the nsx edges (name, version) to their organization in csv format so, it will be easier to see which edges need to be upgraded based on the...

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

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


Get-View -RelatedObject returns error Unable to retrieve related object:...

Hello,I'm having a very strange issue with a bit of code that grabs information on VMs in out vCloud environment. This segment feeds in the names of the Org vDC, a vApp within that Org vDC, and a VM...

View Article

Script to get NSX Edge and Organization in csv

Hi, I'm trying to put a script together to export the nsx edges (name, version) to their organization in csv format so, it will be easier to see which edges need to be upgraded based on the...

View Article

Updating VMware tools & VMhardware version on VM's in vCloud (8.2) Organization

In our environment we only have access to vcloud organization to manage VM's & wanted to upgrade vmware tools & hardware versions in an automated way.We don't have any visibility to...

View Article


Display and remove snapshots from vCloud Director 5.1

Hi All, I've been trying without success to create a PowerCLI script that will report back and delete all snapshot over x days. If I run the vSphere 5.5 PowerCLI commands: Get-VM | Get-Snapshot | Where...

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

How to delete vCloud Director SHADOW-VM using PowerCLI

Does anyone know how to delete a shadow-vm using PowerCLI? After creating a vApp Template, we copy it across to other datastores (this step is scripted already). However, doing the copy, creates shadow...

View Article

Stranded Items

Hi Anyone known how to get a list of vCloud stranded items from PowerCLI?  RegardsClaus

View Article

Trouble adding more "CIVM" to a "CIVApp" in vCloud via PowerCLI 5.5

Hi All,I am having trouble performing some tasks in PowerCLI that I can do easily in the GUI. Firstly, in the vCloud Director GUI, I can create a new vApp from a template that has one machine in it. I...

View Article


Powershell to find and delete Stranded Items | vCloud Director 9.1

Hi All.

 Is there any powershell script to automate the deletion of stranded items in vCloud Director 9.1?

 Thanks in advance!

 Alicia T

View Article

Add new NIC to VM (like New-CINetworkAdapter)

Hi all I'm trying to find out how to simply add a new NIC to a VM within a vApp. Something like "New-CINetworkAdapter" would be great, but unfortunately does not exist.. Anyone some experience or tipps...

View Article


Command for listing all vm's within a vApp ?

This is seemingly simple, however I have yet to find success with this. How do I list all of the vm's in within a vApp along with all of the information about these vm's, namely thier IP, Ram, Compute,...

View Article

How to list vApps per Datastore

Hi Am looking for PowerCLI to export list of vApps per Datastore in my vCloud Director environment Get-CIDatastore only gives me information about the datastore, and this object cannot be piped to...

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

Build URLs for: VM Console, vCloud Director vApp, VM properties in vSphere

Hi all I made a script to generate URLs for the following access:- Open a VM's Console in vSphere Web Client- Open vApp (to which the VM corresponds to) in vCloud Director- Open the VM's Summary Tab in...

View Article
Browsing all 13334 articles
Browse latest View live


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