Assistance with query report on dvPortGroups in vCD
I'm a noob on PowerShell and PowerCLI. I've been using some of the scripts found on LucD and Virtu-Al's sites. vCDAudit has been especially helpful to pull data quickly in one large report. I've also...
View Articlefirewall rules
hi! is there a way to set ports or firewall rules with the powerCLI? Only found set-ciAccessControlRules but that doesn't seem to bethe right cmdlet... thanks. Ralf.
View ArticleHow get vcloud director version using Powercli 5.1
Hi, After connect to vCD (using Connect-CIServer), how do I get vcloud director version (e.g. 5.1.1 or 1.5.0)? Thanks.
View ArticleHow to monitor vApp cloning and remove vApp if the cloning failed
Hi, How do I monitor vApp cloning process (e.g. whether the cloning is complete or not, whether the cloning fails or not, how much progress has been made)? In case that the cloning fails, how do I...
View ArticleAutomating vCloud: "Disable Host" and "Redeploy All VMs"
Are these two functions available through any API/SDK? I cannot seem to find it for PowerCLI or the REST interfaces. Perhaps I am reading outdated/incorrect documentation? Any help would be great! Thanks.
View ArticleAny way to eject all media?
Hi, I am trying to eject the media of all vm's in an org but I am having trouble. Is there an easy way to do this? As an example with just one vm. PowerCLI C:\Program Files...
View ArticleGet-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 ArticleExport/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 ArticleClone a cloud VM into the same vApp?
I would like to clone a VM inside a vApp to create another instance of it in that same vApp. I have tried this with Import-CIVApp: $targetVapp = Get-CIVApp MyVapp$sourceVM = (Get-CIVM -VApp...
View ArticleTrying 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 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 ArticleMigrate CIvAPP from one Resource Pool to another?
Hi, I'm looking for a way to migrate/vmotion the VM's in a CIvApp from 1 resource pool to the another in the same OrgVDC. Basically want to vmotion the VM's to another host. The hosts in the other...
View ArticleImport and Export of vApp
Hi All, Is it possible to export vApp using PowerCLI? We have DR requirement which stats - All vApp created in DC-A should be available in DC-B.As long as place holder vApp's are available we always...
View ArticleCreate External Networks in Vcloud
I am looking for a way to create Vcloud External Networks with PowerCLI. Does anyone have any experience/examples with this? Thanks
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 ArticleReport containing vCloud vApps names w/ source vApp template names
Can I use PowerCLI to list vCD vApps along with their source vApp Template? I'm looking for something like the following: vApp NamevApp Template NamevApp1vApp2vApp3LAMP-1.2LAMP-1.2SharePoint-1.5...
View ArticleError when cloning a VM related to vCloud Director
Hey there!I have the following cmdlet: New-VM -Name ClonedVM -VM SourceVM -Datastore NewDS -VMHost ESXi -Location Folder -Confirm:$false The problem is that I'm trying to clone a VM that is a part of...
View ArticleOrganization 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 ArticleImport-CIVAppTemplate is erroring out with DiskContentsPending error in vCD
Hi, I am trying the Import-CIVAppTemplate command in PowerCLI for vCloud Director and it is failing as below after some 15% completion.The vAppTemplate import never succeeds after this error.I am...
View ArticleRemove a CIUser
Greetings everyone!I already did a brief research on the matter, but failed to find a question, so if this question has already been answered I am sorry for the re-post. My main problem is the...
View Article