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

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


Need to increase Command Timeout from default of 100 seconds

I have a large network with about 1500 IPs assigned to it that is timing out when trying to retrieve it. I need to increase the timeout, How can I do that? This is running against VCD 5.1 PowerCLI...

View Article


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

Organization vDC Edge Gateway

Been trying to figure out how to create a edge gateway in a vDC with powershell and have gotten nowhere, perhaps someone else can give a hand? So i've tried to check an excisting edge gateway to see...

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


Image may be NSFW.
Clik here to view.

How to add a vCD system administrator to the VICredentialStore?

Using the New-VICredentialStoreItem cmdlet it is possible to add credential store items for vCloud Director servers. The credential store items for vCloud Director servers must contain user name and...

View Article

vCloud network allocated addresses

I am looking for some assistance. I am scripting the allocation of IP's for VM's deployed to a org network backed by a specific external network.  Currently I am running:$extnet = get-externalnetwork...

View Article

Image may be NSFW.
Clik here to view.

Get Organizations or VDCs using a specified External Network

Hi Guys. How are you? I have a specific External Network in my vCD environment, and I am try to retrieve a list of Organizations or VDC that are using IP Addresses of this External Network as you can...

View Article


VCD 8.2 VM & vAPP Owner Report

Hi All, Anyone have an updated version of this script? Appreciate the help!  $CIvApp =get-CIvApp $CIvms =$CIvApp |get-CIvm  $report =@()  foreach($vm in$CIvms){  $row =""| Select...

View Article


Get list of VM's from file

Hi I am trying to stop some VM's in vCD using a txt file.  I am doing the following  1. Connecting to vCD2. $vmlist = get-contect c:\vms,txt3. $vms = get-civm $vmlist    But the last command gives an...

View Article

Gateway IP sub-allocation --can I list these contents?

All,Just getting into powercli for vcloud...wondering if there is a command that will list the IP range of all the gateways.  The field I want in the gui is under manage and monitor, cloud resources,...

View Article

Looking for vCD PowerCLI script to update VM CoresPerSocket value.

Hello, I am looking for a vCD PowerCLI script to update VM CoresPerSocket value. I am using below but it is not working. Connect-CIServer -Server vCD_IP -user User -password Password$CIVM = Get-CIVM...

View Article

Get-CIVM vs Get-CIview -CIobject ${Get-CIVM -Name "MyVM"} status attribute

I use:PowerCLI 6.5 Release 1 build 4624453,vCloud Director for Cloud Service Providers 8.20 U1 When running:Get-CIVM -name "MyVM"I get CIObject that contain property 'Status'. 'Status' is of type...

View Article


Image may be NSFW.
Clik here to view.

Get All external IP's of all Edge-GW's

Hello!I stucked at creating PShell to get all External IP's that are stored into vCloud Director properties of EdgeGW Sub-Allocate IP Pools: or in EdgeGW properties in NSX Manager in Settings -...

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


Useful Scripts

Being new to PowerCLI cmdlets, I have come to love managing vSphere and vCloud through Powershell scripts. So much that I wanted to share some scripts that I made for daily tasks and encourage others...

View Article

Reverse lookup - Get-VM to Get-CIVM possible?

Hi all,I know that it's possible to go from vCloud Director to vSphere simply with:Get-CIVM | Get-VMBut I am looping through VMs from the vCenter side, and need to lookup the VM's vApp, owner etc. if...

View Article


Image may be NSFW.
Clik here to view.

Help!!required a script to find vCloud Chain Length and Linked Clone Mappings

Hi  Can I get help on Vcloud as I didn't find any reference script to find the chain length and what are the linked cloned vm's list in vCloud powercli community.Here is my requirement,My vCloud...

View Article

vCloud Set-OrgNetwork

Hi,i am experiencing an issue which I find a bit odd and perhaps it is a bug?Connected to a vCloud 8.20 instance. So get-OrgNetwork is deprecated, but the same error occurs with get-OrgVdcNetwork. PS...

View Article

The remote server returned an error: (406) Not Acceptable

Hi all, I'm new with Cloud Director and PowerCLI and I would like connect my vCD to create some stuffs.  But when I try to connect my vCD, I receive the following error:Connect-CisServer The remote...

View Article
Browsing all 13334 articles
Browse latest View live


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