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

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


Vcloud Login Details

How to find the login details of an Org VDC using Powercli.

View Article


Is it possible to set the vCloud API Version to use when using PowerCLI?

Hello, PowerCLI Version: 5.5.0.6316PowerShell version: 4 I am automating the creation of vApps and VMs using the tools in PowerCLI.  During testing I have been using two different vCloud Datacentres,...

View Article

Duplicate storage profiles on vCloud

After upgrading the vCloud from 5.1.2 to 5.5 we are unable to create vapp and capture to catlogDuplicate storage profiles on vCloud – i.e, Unable to create new vApp or capture to catlog.Scope of the...

View Article

Modify vApp network - set all to "Retain IP / MAC Resources"

vCloud Director 5.1.3 having a power outage, and looking to modify all vApp networks and set "Reatin IP / MAC Resources" to true so the NAT addresses are retained while vApps are down.   Anyone have a...

View Article


How to run vCD powershell cli via RSH

I am trying to run vCloudDirector powerCli via rsh.I ran vSphere powerCli with the following options successfully. But when I try to connect to the vCD, it could not recognize the vCD commands.I am...

View Article

Is it possible to connect to a CIServer using an account that does not have a...

I am trying to connect to a vCD organization using an Windows AD account that does not have a password.  Can it be done?  Every attempt so for has resulted in 'cannot be a blank password'...

View Article

vCloud not returning expected data?

Ran into something goofy/unexpected on vCloud Director 5.5.2 with PowerCLI 5.8.0.The logic (in this particular scenario anyway), just checks if the vApp exists; if it doesn't it returns null, then it...

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


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

Start-Job with PowerCLI not working

This script never gets past the first write-host line in the start-job...   # Do work$csv = Import-Csv tmpbuild.csv foreach ($item in $csv) {    Start-Job -RunAs32 -ScriptBlock {            # Add...

View Article

Using Connect-CIServer in a Start-Job

Has anyone been able to complete something like this? This works perfectly in a plain PoSh window but running in a Start-Job it never gets past the connect-ciserver. The job shows running and...

View Article

External Networks

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

View Article


How to Reset Mac address of a VM through REST API?

Hi All,        How to Reset Mac address of a VM through REST API? Thanks in Advance.

View Article

Adding vShield Edge NAT rules from a CSV file using PowerCLI

I recently read Alan's great post on adding NAT rules here: http://www.virtu-al.net/2014/07/24/working-vcd-edge-gateway-rules-powercli/I have used this successfully for single rules in a lab...

View Article


Error when cloning a VM related to vCloud Director

Hey there!I have the following cmdlet:  New-VM -Name ClonedVM -VM SourceVM -Datastore NewDS -VMHost ESXi -Location Folder -Confirm:$false The problem is that I'm trying to clone a VM that is a part of...

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


vApp; Add custom Guest Properties failes

Hi All,I tried to add some custom Guest Properties to a vApp which is already deployed according to this blog entry:https://communities.vmware.com/thread/442664 My current script looks like this:...

View Article

New-vm in vCloud Director with PowerCli 5.5

Hi, I have been working with Powercli on scripting the creation of multiple VM's inside a vApp and cant seem to get anywhere with the new-vm command.As each vApp will have a different number of VM's i...

View Article

PowerCLI 5.0.1 vCloud cmdlets: get-orgvdc bug, ProviderVdcReference.id...

Hi, 1) Get-OrgVdc bug If your vDC name contains space (e.g. "my vDC"), the following command will fail because the REST API call is not urlencoded (%20 instead of space):$all_powered_on_vms =...

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>