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 ArticleGateway address and subnet mask have to be provided...
I am trying to get this script working for creating an OrgNetwork in vCD 5.1. When I run it I get an exception saying that "Gateway address and subnet mask have to be provided when creating...
View ArticleConnect-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 ArticleScript 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 ArticleSnapshots 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 ArticleRemove Catalog?
Does anyone know of a remove catalog command? I know there is a Get-Catalog cmdlet, but I don't see anything to remove one. Thanks. -DB
View ArticleList 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 ArticleDisplay 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 ArticlePowerCLI error vCloud Director assigning Org vDC/vApp network to VM
Hello,I'm working on a script that imports VMs from vCenter into vCloud Director by creating vApps within an Organization's vDC then assigning a network to the VM. The script reads in a lost of VMs,...
View ArticleCreate External Networks in Vcloud
I am looking for a way to create Vcloud External Networks with PowerCLI. Does anyone have any experience/examples with this? Thanks
View ArticleGet 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 ArticleWorking 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 ArticleCreate and Revert Snapshot
Hi Could someone please give a professional touch to this script so that I could Revert snapshot with results and then take a snapshot againI would really appreciate your response.Thanks if (...
View ArticleNew-CIVApp failed to create vApp from vAppTemplate in vCloud
Hello: I tried to create a vApp from a vAppTemplate using the command:New-CIVApp -Name $vAppName -Description "This vApp is created from PowerCLI" -OrgVdc $orgVDC -VAppTemplate $vAppTempl The problem...
View ArticleHow to delete external network via powercli?
Hi,Does anybody know how to delete an external network via powercli? Thanks in advance,Marco
View ArticleVM 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 ArticleHot 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 ArticleArgument '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 ArticleGet-ExternalNetwork only showing 10 results...
Not sure if this would be better suited to the vCloud Director forum, but in an environment where we have over 80 or so External Network "entities" within vCloud Director (1.5.1 running on full vSphere...
View ArticleHow to find the storage of a VM in Cloud director
Hi All, When I use the below command Get-CIVM -OrgVdc "MyOrgVDC1", it lists all the VMs under the Organization VDC. And for each VM it gives the vCPU and Memory details. I also want the storage of the...
View Article