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 ArticleHow to get a vm's chain length?
Hello,I'm trying to automate some consolidation of vms and would like to script it. I have over 800 vms so manually would not work.I'd like to$allVApps = Get-CIVAppforeach($CIVm in ($allVApps |...
View ArticleMounted medias inventory
Hello, When you connect a media (ISO file) on VCD, there is no place to tell on VCD portal that there is an ISO file mounted on a specific VM. So many ISO stay mounted on VMs without being removed.So...
View ArticleDelete vCloud Director related Custom Attribute on a VM
Hello Following Tomas Fojta's blog postHow to Export Running VM from vCloud Director – Tom Fojta's Blog I'm looking for a way to automate step 4: Remove vCloud Director related Custom Attribute on a...
View ArticleUpdating VMware tools & VMhardware version on VM's in vCloud (8.2) Organization
In our environment we only have access to vcloud organization to manage VM's & wanted to upgrade vmware tools & hardware versions in an automated way.We don't have any visibility to...
View ArticleSet Guest customization at vApp level
I am looking for some assistance on how to enable guest customization for CIVM's at the VApp level. Currently I am using the $CIVM.ExtensionData.Section to enumerate guest customization settings and...
View ArticleHow to delete external network via powercli?
Hi,Does anybody know how to delete an external network via powercli? Thanks in advance,Marco
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 ArticleCreating Routed Org Network in vCD 9.0.0.2
Hi guys. I can't create Routed Org Network by PowerCLI. PowerCLI version is 6.5.0.234 and vCD for SP version is 8.20.0.2. I'm connected to vCD server and all objects are exists: Org "Test", OrgVDC...
View ArticleCommand for listing all vm's within a vApp ?
This is seemingly simple, however I have yet to find success with this. How do I list all of the vm's in within a vApp along with all of the information about these vm's, namely thier IP, Ram, Compute,...
View ArticleListing vCloud Organization, Org VDCs, VMs, and a VM's Metadata field
How can I use PowerCLI to quickly list vCloud Organizations, Org VDCs, VMs, and a VM's Metadata field called "Location"? I'd like to do this using views, but I can't find information on how to do this,...
View ArticleGetting error with Connect-NsxtServer : Invalid JSON primitive
Hi all, Has anyone encountered this error, and knows a fix? This is on PowerCLI 6.5.4.7. Thanks!Khare PS C:\> Connect-NsxtServer xxxxxx -User xxx -Password xxxConnect-NsxtServer : 1/12/2018 11:22:41...
View ArticleGet-View -RelatedObject returns error Unable to retrieve related object:...
Hello,I'm having a very strange issue with a bit of code that grabs information on VMs in out vCloud environment. This segment feeds in the names of the Org vDC, a vApp within that Org vDC, and a VM...
View ArticleScript to get NSX Edge and Organization in csv
Hi, I'm trying to put a script together to export the nsx edges (name, version) to their organization in csv format so, it will be easier to see which edges need to be upgraded based on the...
View ArticleHow to delete external network via powercli?
Hi,Does anybody know how to delete an external network via powercli? Thanks in advance,Marco
View ArticleAdd new NIC to VM (like New-CINetworkAdapter)
Hi all I'm trying to find out how to simply add a new NIC to a VM within a vApp. Something like "New-CINetworkAdapter" would be great, but unfortunately does not exist.. Anyone some experience or tipps...
View ArticlePowerCLI error vCloud Director assigning Org vDC/vApp network to VM
Hello,I'm working on a script that imports VMs from vCenter into vCloud Director by creating vApps within an Organization's vDC then assigning a network to the VM. The script reads in a lost of VMs,...
View ArticleVMware vCloud Storage vmotion by Datastore and vDC ( Resource Pool )
This Shell will help you migrate the vm's between datastores that are managed by vcloud director ( Resource pool ) from the vi probably you will get an error the are insufficient for the operation and...
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 Article