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

Trying to retrieve External Network IP Address from specific vapp

I know this should be simple but having an issue.  vCD 5.1   trying to use this script in the vmware help to get a list i can copy and paste into excel to retrieve the vm name and external ip from an...

View Article


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

DTD is prohibited in this XML document

I am trying to use "connect-ciserver <servername>", and after entering my credentials, I get the following error message: Connect-CIServer : 5/10/2012 2:22:57 PM    Connect-CIServer        For...

View Article

How can i add a nic to a vapp deployed by vcd1.5

Hi any advise how i can add a nic to a vapp using power cli i'm have powercli 4.1 with vcentre 4.1 U1

View Article


Get-CINetworkAdapter, extremely slow in bulk (20 minutes)

Hi, I'm trying to get all Vm's and thier external ip address, to do some scripted DNS.But it takes almost 20 minutes to complete for 136 machines.  @ PowerCLI 5.1 Release 2 build 1012425 &...

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

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


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


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

vCloud Director Storage Profiles

Hi all I'm trying to put together a script to setup new Organisation and Virtual Datacentres in our vCloud 5.1 environment.  The problem I've come up against is that I can't specific what storage...

View Article

Import LDAP Users

Has anyone attempted to import LDAP users via PowerCLI?  I have a list of 65 users that need to be imported and I would like to save some time on all the clicks.  I'm hoping I can get the information...

View Article

Image may be NSFW.
Clik here to view.

Adding two new Storage Policies to a couple of OrgvDCs

Hi , I have a working script for adding a new Storage Policy to a named OrgvDC (Thanks to 900 Foot VM)Now my Customer would like to add two new Storage Policies (already attached to the PvDC) to ~60...

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

How to find the storage of a VM in Cloud director

Hi All, When I use the below command Get-CIVM -OrgVdc "MyOrgVDC1", it lists all the VMs under the Organization VDC. And for each VM it gives the vCPU and Memory details. I also want the storage of the...

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

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


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

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

vshield edge Command Line / Power CLI Script for installation

Hi All,  Could you please share the commands / powerl cli script to install vshiled Edge Installation.  We need to automate the Vshiled Edge Installation on Port Group.  Regards,Sunil I B

View Article
Browsing all 13334 articles
Browse latest View live


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