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

Get-ProviderVdc returns Null values for StorageUsedGB StorageAllocatedGB and...

Has anyone else seen this?  The Get-OrgVdc does return Storage information but I want to collect it from the Provider VDC PowerCLI C:\Scripts\vmware> Get-ProviderVdc moc-vmcl1101-pvdc Name...

View Article


Sample Script: Creating an Empty vApp with vCloud PowerCLI

Hi Everyone, The New-CIVApp cmdlet does not allow us to create empty vApps (which can be useful when templating out network configurations, for example). This shortcoming can be overcome by calling the...

View Article


missing PowerCLI cmdlets for external network settings in vCD 5.1?

I have 59 external networks defined in my Provider VDC and over a hundred directly connected OrgVDC networks mapping back to those. I need to update the DNS records for the static IP pools associated...

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

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


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

Mounted medias inventory

Hello, When you connect a media (ISO file) on VCD, there is no place to tell on VCD portal that there is an ISO file mounted on a specific VM. So many ISO stay mounted on VMs without being removed.So...

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


External Networks

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

View Article


Adding a vApp to Catalog in vCD with PowerCLI

I would like add a vApp to a Catalog via PowerCLI. I can't see any methods under the extensiondata of the vApp that allow for this. Then I thought maybe I need to look from the Catalog side and could...

View Article

PowerShell Script to move VM's between vCloud vApps

Hi, I am looking to build a powershell script which will allow me to move/migrate the VM's from vApp in a Org vDC to another vApp in another Org vDC in the same organization. I was Import-CIVApp...

View Article

Clone a cloud VM into the same vApp?

I would like to clone a VM inside a vApp to create another instance of it in that same vApp.  I have tried this with Import-CIVApp: $targetVapp = Get-CIVApp MyVapp$sourceVM = (Get-CIVM -VApp...

View Article

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


Import and Export of vApp

Hi All, Is it possible to export vApp using PowerCLI? We have DR requirement which stats - All vApp created in DC-A should be available in DC-B.As long as place holder vApp's are available we always...

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


Import-CIVAppTemplate is erroring out with DiskContentsPending error in vCD

Hi, I am trying the  Import-CIVAppTemplate command in PowerCLI for vCloud Director and it is failing as below after some 15% completion.The vAppTemplate import never succeeds after this error.I am...

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

Image may be NSFW.
Clik here to view.

get-civm errors with server error with status code 500 - internal server error

I am trying to retrieve vsphere views from vcloud director views. When i try to do that i am geting an error. Get-CIVM works - PowerCLI C:\Program Files (x86)\VMware\Infrastructure\vSphere...

View Article

Automating vCloud: "Disable Host" and "Redeploy All VMs"

Are these two functions available through any API/SDK? I cannot seem to find it for PowerCLI or the REST interfaces. Perhaps I am reading outdated/incorrect documentation? Any help would be great! Thanks.

View Article
Browsing all 13334 articles
Browse latest View live


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