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

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


Any cmdlets for catalog/media?

Hi allI was wondering if there are commands or if anyone is aware of a way to manipulate media? Im running vCD 1.5 and in the GUI have got Copy to Catalog and Move to Catalog commands, would be...

View Article


vApp Guest Customization

Hi I am trying to uncheck the 'guest customization' box for each of my Virtual Machines within the vApp I have created. Is there a PowerCLI command I can run to do this instead of manually going into...

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

exporting firewall/NAT rules from Edge Gateway

Anyone using a powerCLI script to output firewall/nat rules for Edge Gateways (ver 5.1.2) configured on Org VDC networks for documenation purposes? I've been able to pull plenty of information using...

View Article


Trying to utilize Powercli to add a new NICs within vCloud 5.1

Hoping someone has used Powercli to automate adding a new "Organization VDC network", choose an "Adapter Type", change the "IP Mode" to manual, and populate the "IP Address" into vCD 5.1 Any help would...

View Article

How to get allocated ip addresses on a network within a certain Organization...

Hi,I cannot figure out how to list all VMs and their IP Address on a Network of Allocated IP Addresses broken down by Organizations. I can view this in the vCloud GUI "Cloud Resources |Eternal...

View Article

vCloud Director sVmotion over Powercli

I've created a Script to move VM's over the vCloud Director API to an other Datastore in the same PvDC. (Datastore with the lowest UsedSpace) Here the most important parts:$civm = get-civm...

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


Build URLs for: VM Console, vCloud Director vApp, VM properties in vSphere

Hi all I made a script to generate URLs for the following access:- Open a VM's Console in vSphere Web Client- Open vApp (to which the VM corresponds to) in vCloud Director- Open the VM's Summary Tab in...

View Article

vCD Powercli question....digging through API

Does anyone know how to extract the DateCreated for vApps and VMs via PowerCLI? The dates are readily available in the DB in dbo.vms, but i can't seem to dig it out via PowerCLI.  I've found some...

View Article

Add new NIC to VM (like New-CINetworkAdapter)

Hi all I'm trying to find out how to simply add a new NIC to a VM within a vApp. Something like "New-CINetworkAdapter" would be great, but unfortunately does not exist.. Anyone some experience or tipps...

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


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

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


Setting Guest Customization Section Fails in 5.5

Hi, Since migrating to vCloud 5.5 the following script fails which worked in 5.1:  $CIVMs = get-CIvApp $CIvAppName | get-civm Foreach ($vm in $CIVMs) { write-host "Customizing" $vm.name...

View Article

Get-Org failure on Win 8.1 PS 4.0

I've got a script to deploy v-apps on the cloud but on Windows 8.1 with PowerShell 4.0 the Get-OrgVcd fails. It returns nothing whereas on Win7 with Powersehll 3.0 it does return the Org. does anyone...

View Article


The VCD - vCenter Glue - Linking VMs and Events

Hi All I have sucessfully talked to the vCenter running our Blades and hosting vCLoud, and vCloud itself I can see VMs from both sides. 1. What i am looking for is the glue that allows you to link the...

View Article

How do you resize a CIVM disk?

Wasn't sure if this is possible w/ PowerCLI and the current vCloud module.

View Article

vCloud Director Change e1000 to VMXNET3 Online

Hi Guys,  I have been made aware of a VMware KB that is supposed to have a script that allows the change of a primary NIC from e1000 / Flexible to VMXNET3 online and it interacts with VMTools to notify...

View Article
Browsing all 13334 articles
Browse latest View live


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