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

Accessing vCloud REST API with Powershell

Hello,      I have come to the conclusion that the new vCLoud cmdlets are not enough for what I plan on doing, and I plan to extend upon the cmdlets by using the API via REST. I have been fiddling with...

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


How Can I Set the Customization Script for all VMs in a vApp

Using the .ExtensionData method found here: http://communities.vmware.com/thread/392462?start=0&tstart=0 (Thanks alanrenouf)I'm able to set some guest customization properties via PowerCLI.  My...

View Article

Sample script to modify vApp (Network, Firewall Rules, Start/Stop Order,...

Hi allI would like to share a script I developed the last few days. What the script does:- Add an internal network called "Internal" with NAT/Firewall to a vApp- Add Firewall rules (f.e. RDP)- Set the...

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


Export/Import Org Networks and Shared?

Has anyone got ideas on exporting the details of all Org Networks within an Organiztion and/or importing them from CSV?  I get requests for this, but do not know Get-CIView very well. The first OvDC...

View Article

Create vDC Storage Profile Help

I am kind of new to all of this, but I wanted to put together a simple script that would automate my team's administration of vCD.  Specifically org and org vDC creation, etc.  I pieced together this...

View Article

How to change Storage Profile of VM in vAppTemplate?

Hi everyone, I've got a project in front of me to migrate existing VMs from an existing storage profile or the * profile to a newly created storage profile.  I've determined how to get this done for...

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


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: vShield Edge FW Rules

Hi all I'm looking for a way to get and set firewall rules on a vShield Edge firewall in a vCloud environment.  My final target is to write two scripts; one that will export the firewall rules from a...

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


PowerCLI/API for update storage profile in vDC

Hi,I found how to add or remove storage profile via vcloud API (VMware vCloud Director Documentation Center), but does anyone know how to do update (change size or disable) storage profile via API or...

View Article

Find datastore of CI-VAPPTemplate

Hey folks, in our vCloud environment we need to put a datastore into maintenance mode and make a few adjustments. I've come to find out SDRS only works on VMs and not the vAPPTemplates or Media within...

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

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


Accessing vCloud REST API with Powershell

Hello,      I have come to the conclusion that the new vCLoud cmdlets are not enough for what I plan on doing, and I plan to extend upon the cmdlets by using the API via REST. I have been fiddling with...

View Article

How to change Storage Profile of VM in vAppTemplate?

Hi everyone, I've got a project in front of me to migrate existing VMs from an existing storage profile or the * profile to a newly created storage profile.  I've determined how to get this done for...

View Article

Vm - Vapp owner

So in writing a script for Vcloud Director, I want to be able to see who "owns" a VM. It seems like I cannot get the vapp information from the VM. Any ideas? Below is some of the code that I am working...

View Article
Browsing all 13334 articles
Browse latest View live


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