Using Connect-CIServer in a Start-Job
Has anyone been able to complete something like this? This works perfectly in a plain PoSh window but running in a Start-Job it never gets past the connect-ciserver. The job shows running and...
View ArticleFind 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 ArticleHow to Reset Mac address of a VM through REST API?
Hi All, How to Reset Mac address of a VM through REST API? Thanks in Advance.
View ArticleNew-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 ArticleBuild 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 ArticleDoes anyone know how to recompose a vcloud vapp from powercli without having...
I’m struggling to find out how to do this. There doesn’t appear to be much out there (or more likely I can’t find it). It seems to me like this would be a common task, so there must be a way to do...
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 ArticleSetting 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 ArticlevApp; Add custom Guest Properties failes
Hi All,I tried to add some custom Guest Properties to a vApp which is already deployed according to this blog entry:https://communities.vmware.com/thread/442664 My current script looks like this:...
View ArticleIs 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 Articlevshield 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 ArticleClone VApp Template to another Org
I am trying to clone a VAPP template from a VDC in OrgA to a VDC in OrgB in vCloud Directory 5.5 A snippet of the script is below: $sourceVappTmpl = Get-CIVappTemplate -Name 'myvapp' $destOrgVdcName =...
View ArticleGet-Task Error
Hi, I get the following error running get-task. I seems to display the first 3000 odd tasks but then errors: PS C:\> get-taskjobDelete Success 100 11:18:48 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 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 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 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 ArticlevCloud VM Monthly report vCpu|RAM|Storage
Hello , I am looking for script which will provide Monthly report of vCpu/ RAM & Storage utilization by each Individual vCloud Director Virtual Machine If the vCloud Director script is not...
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 ArticleAdding 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