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

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


Can I set CIVM name, CIVM computername or other parameters via PowerCLI

Hello!The main question in topic. I tried this one example:$VM = get-civm 'centos_template'($VM.ExtensionData.Section | where {$_ -is...

View Article


New-Org fails in new vCD 9.1 environment

Built out a nested vCD 9.1 environment on vSphere 6.5 with NSX 6.4.0Manually created my first organization and getting ready to create a powershell script to build the second one, but I get an error...

View Article

Get-CIVM returns Not Found - 404

I have VPC OnDemand and I was able to build a new FreeBSD server with a public IP. Everything works fine. But, when I try to play with PowerCLI I am getting an error. Here is what I do. ConnectCIServer...

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


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

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


Gather Edge information

Dear Community, I'm in need of a script which can gather the following information: - versions of all Edges (adminVAppNetwork, adminOrgNetwork and edgeGateway)- type of Edge- organizations they are...

View Article


Image may be NSFW.
Clik here to view.

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

vCloud: vShield Edge FW Rules

Hi all I'm looking for a way to get and set firewall rules on a vShield Edge firewall in a vCloud environment.  My final target is to write two scripts; one that will export the firewall rules from a...

View Article

Export all vCloud Edge Gateway rules to CSV file

Hi, For documenation purposes, I need to make a list of all vCloud firewall rules. Specifically, I am looking for Edge name, Rule ID, name, source, source port, destination, destination port, protocol,...

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


Remove-CIVAppNetwork randomly fails with "The operation cannot be performed...

Hi there, I'm new to PowerCLI and also to PowerShell, and I think I'm missing something but I can't help to find out what is going on. I'm writing a script that takes a vAPP from a catalog which has a...

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


vCloud Director change organization limits

Hi, I have been able to find most organization settings, but cannot find where to set these using PowerCLI: Number of resource intensive operations per userNumber of resource intensive operations per...

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


External Networks

Does anyone know of a way to create external networks with PowerCLI?

View Article

How to delete external network via powercli?

Hi,Does anybody know how to  delete an external network via powercli? Thanks in advance,Marco

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


Latest Images

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