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

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


Add a VM to a vApp using PowerShell

Hello, I am trying to add a VM to a vApp using PowerShell.  I know that there is no explicit cmdlet to do it, and I need to recompose the vApp. I've used the great Instantiation script from...

View Article


VdcStorageProfiles missing in Orgvdc object (version5.1)

Hi,I'm trying to create organisation VDC's in vCloud 5.1.New to version 5.1 is the use of storage profiles in the provider VDC.I cannot create an Org VDC with storage profiles since this property does...

View Article

How to change catalog default storage policy?

I am trying to change the default storage policy on a organizations catalogOrganization -> Catalogs -> Org Catalog -> Properties -> Storage -> Pre-provision on on specific storage...

View Article

Creating LoadBalancer

I'm on the last bit of my full vCD automation effort but I'm running into errors with the creation of the Load Balancer. I've put together the following but it's throwing errors when i try to deploy...

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

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

Example for configuring VM's "guest properties" (i.e. OVF settings)

Following is an example for configuring a VM's "guest properties" (in vSphere this is called "OVF settings/environment") using PowerCLI (or API).Note that this script was designed to run as an "org...

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


Delete vCloud Director related Custom Attribute on a VM

Hello Following Tomas Fojta's blog postHow to Export Running VM from vCloud Director – Tom Fojta's Blog I'm looking for a way to automate step 4: Remove vCloud Director related Custom Attribute on a...

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

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

update vdc (allocation pool org vdc elastic)

Hello, I'm trying to update allocation pool vcpu speed settings (enabled elastic pool org vdc), but powercli supports only PAYG model. example:Get-OrgVdc -Name "arunas dev vdc"|select...

View Article


set vCloud Director vApp VM memory and hardware with PowerCLI

I am trying to modify the memory and CPU allocation for a vCloud Director vApp VM. The vApp is deployed, but stopped. I have tried various combinations of the PowerCLI commandlets, but with no success....

View Article

Modify VM hardware with vCloud Director and PowerCLI

After deploying a new VM in vCloud Director (with New-CIVM via PowerCLI), what PowerCLI cmdlets are available to then modify the number of CPUs and RAM for a given deployed VM?  I can't find any...

View Article


Unable to connect to VCloud Director 5.1 build 5.1.1.868405

Hi. We are not able to connect to a VCloud Director ver. 5.1.1 868405.  When we try a: connect-ciserver   we get the following error:   Connect-CIServer        The underlying connection was closed: The...

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


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

Unable to connect to VCloud Director 5.1 build 5.1.1.868405

Hi. We are not able to connect to a VCloud Director ver. 5.1.1 868405.  When we try a: connect-ciserver   we get the following error:   Connect-CIServer        The underlying connection was closed: The...

View Article

Add a VM to a vApp using PowerShell

Hello, I am trying to add a VM to a vApp using PowerShell.  I know that there is no explicit cmdlet to do it, and I need to recompose the vApp. I've used the great Instantiation script from...

View Article
Browsing all 13334 articles
Browse latest View live


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