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

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


Image may be NSFW.
Clik here to view.

Creating Routed Org Network in vCD 9.0.0.2

Hi guys. I can't create Routed Org Network by PowerCLI. PowerCLI version is 6.5.0.234 and vCD for SP version is 8.20.0.2. I'm connected to vCD server and all objects are exists: Org "Test", OrgVDC...

View Article


Get-PIComputeInstance successfully errors out

Get-PIComputeInstance : 12/29/2015 11:30:27 AM    Get-PIComputeInstanceGetting vCloud Air compute instances is only supported on vCloud Air platform.For VCHS platform use Get-PIDatacenter to retrieve...

View Article

Argument 'uriTemplate' must not be null. Parameter name: uriTemplate

We are working on some scripts to automate vCloud Director tasks, a few of the functions within the script do not work and we receive an error:Exception calling "UpdateServerData" with "0" argument(s):...

View Article

Image may be NSFW.
Clik here to view.

content Library_powercli

Hi Luc , good evening , i think there is no powercli commands to create content library thorugh powercli (11.2)if you can suggest on below scenerio.1:Once local content Library is created we can...

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

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

Image may be NSFW.
Clik here to view.

Connect-CIServer errors with NOT_ACCEPTABLE: The request has invalid accept...

I have a two vCD 9.5 environments, one utilizing Centos based vCD Cells and one using the vCD 9.5 appliance. On entering the above command with the correct FDQN of a cell and entering the correct user...

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


"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

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

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

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

Image may be NSFW.
Clik here to view.

VMware.VimAutomation.Logging.SoapInterceptor not found

Hi, I'm trying to reboot a VM with PowerCli and then wait until the vm is running. I user this command for this: Get-CIVM -VApp $VCloudVappName -Name $VCloudVmName | Restart-CIVMGuest -Confirm:$false...

View Article


The remote server returned an error: (406) Not Acceptable

Hi all, I'm new with Cloud Director and PowerCLI and I would like connect my vCD to create some stuffs.  But when I try to connect my vCD, I receive the following error:Connect-CisServer The remote...

View Article

Using vCD for Private Cloud

Hi, I run what I’d call a private cloud, I build out the VMs, install the required software and setup Horizon RDSH VMs to provide seamless access to the software running on the backend VMs. I have a...

View Article


Procedure to Eject a media mounted on VM in vcloud

I am trying to eject a media from VM in vcloud.i tried the POST method, but could not find the XML content which needs to be pushed.

View Article

Getting VsphereVM name

Is there any better way to get the vsphereVM name. I am following the below approach,      $vmrdweb = Get-vspherevmname -vmname $Rdwebname -org $NewOrg.Name -vapp $vapp.Name -CIServer...

View Article

How to remove the network adaptor of a VM from VCloud

For removing the network adaptor on VCloud, i am trying below commands.$nic0 = Get-CIVM -Org "ID14434-*" | Get-CINetworkAdapterRemove-NetworkAdapter -NetworkAdapter $nic0 -Confirm:$false But it fails...

View Article
Browsing all 13334 articles
Browse latest View live


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