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 ArticleImport 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 ArticlevCloud 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 ArticleVcloud powerCLi - VM inventory report
HI all, So i wrote this quick script to generate a report of VMs info and more specifically, who owns them. The issue is that I am getting some rows with nothing but the Owner, and all the other...
View ArticleHow 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 ArticleTrouble 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 ArticlevCloud: 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 ArticleHow 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 ArticleExport all vCloud Edge Gateway rules to CSV file
Hi, For documenation purposes, I need to make a list of all vCloud firewall rules. Specifically, I am looking for Edge name, Rule ID, name, source, source port, destination, destination port, protocol,...
View ArticleDTD 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 ArticleAccessing 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 ArticleAdding 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 ArticleWeird error with Search-Cloud...
I ran thw Search-Cloud command for the first time and got error stating it didn't know what "Type" was. So I ran the help and checked the online version of help too and example 2 has the following:...
View ArticleSnapshots with vCloud Director 5.1 & PowerCLI 5.1
(cross-post from vCloud forum) Now that vCloud Director 5.1 supports snapshots, I am looking at the PowerCLI 5.1 cmdlets and cannot find a way to create/manage/revert snapshots. I see it is there in...
View ArticleIssues with vCloud Cmdlets when connecting to a CIServer using SessionID
I'm working on a PowerCLI script that deploys vCloud vApps to multiple OvDCs. The script works great when it's serial, but I have been running into issues when trying to get the deployments to run in...
View ArticleSet Mac address of vCloud VM
Hi For a customer I need to regularly clone a production VM into vCloud for a test-environment. The VM needs to have an identical Mac Address because of some old-fashioned licenses. After cloning, the...
View ArticleHow 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 ArticleUnable to connect to VCloud Director 5.1 build 5.1.1.868405
Hi. We are not able to connect to a VCloud Director ver. 5.1.1 868405. When we try a: connect-ciserver we get the following error: Connect-CIServer The underlying connection was closed: The...
View ArticlePowerCLI/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 ArticlevCloud 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