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

List Edge Gateways and their version - PowerCLI

I am looking for a way to list all Edge Gateways deployed in all my ORG VDCs within my vCD 5.6.4 instance. Does anyone have any documentation or examples of how I can find these Edge Gateways and their...

View Article


How to extract unallocated or free IP addresses in external network pool in...

Hi Guys, I have PS command to extract allocated IP address but I need PS command to free IP addresses. We usually have requirement to find and assign one IP address to our clients and it is really...

View Article


Get-Task Error

Hi, I get the following error running get-task. I seems to display the first 3000 odd tasks but then errors: PS C:\> get-taskjobDelete                      Success           100 11:18:48 AM...

View Article

List Edge Gateways and their version - PowerCLI

I am looking for a way to list all Edge Gateways deployed in all my ORG VDCs within my vCD 5.6.4 instance. Does anyone have any documentation or examples of how I can find these Edge Gateways and their...

View Article

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


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

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.

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


Hot extend a disk in vCD powercli

Hi All I am looking to automate some tasks that we do in vcloud director , like extending disk sizes etc.  Is it possible to use powercli for this ? or would i need to use invoke-vmscript to actually...

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

VM Snapshot with Power shell cli

Hello All  I do not have much knowledge of Powershell but I'm trying to create a snapshot in vcloud.link-connect.com with below script but I'm getting an error as term "Connect-CIServer is not...

View Article

Get-CIRole/Get-CIUser not working?

Hi, I have a problem with some scripts, that used to work and now stop functioning. While investigating I found that Get-CIRole and/or Get-CIUser are no longer working as expected, and I do not know...

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

Remove a CIUser

Greetings everyone!I already did a brief research on the matter, but failed to find a question, so if this question has already been answered I am sorry for the re-post. My main problem is the...

View Article


Working with vCloud Metadata in PowerCLI

Based on Jake Robinson's post at GeekAfterFive - Infrastructure as Code, it seems the sample scripts in Alan Renouf's March 30, 2012 post to the VMware PowerCLI Blog, Working with vCloud Metadata in...

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


How to get allocated ip addresses on a network within a certain Organization...

Hi,I cannot figure out how to list all VMs and their IP Address on a Network of Allocated IP Addresses broken down by Organizations. I can view this in the vCloud GUI "Cloud Resources |Eternal...

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 determine if VM in Vcenter (6.7) is Managed by Vcloud Director (9.5)

I used to have a script which connected to Viirtual Center and listed all VMs which are not managed by vcloud director. This worked well for Vcenter 6.5 and vcloudDirector 9.1 using the ManagedBy...

View Article
Browsing all 13334 articles
Browse latest View live


Latest Images

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