Issue with New-OrgNetwork in vCloud 5.1
Hi, I'm trying to create an OrgVDC Network for my newly created OrgVDCs via PowerCLI. Unfortunately I'm getting an erorr stating: New-OrgNetwork : 3/21/2013 2:03:45 PM New-OrgNetwork The...
View ArticlevApp Guest Customization
Hi I am trying to uncheck the 'guest customization' box for each of my Virtual Machines within the vApp I have created. Is there a PowerCLI command I can run to do this instead of manually going into...
View ArticlePowerCLI for media replication with vCloud 5.1
We have several different vCloud instances each housing several distinct vOrgs (each vCloud instance has a Cloudlibrary vOrg for making ISOs available). I'm looking for a way to replicate media from...
View ArticleRemove Catalog?
Does anyone know of a remove catalog command? I know there is a Get-Catalog cmdlet, but I don't see anything to remove one. Thanks. -DB
View ArticleHow to rename a CivApp?
Hi, Trying to do the simplest task of renaming a CIvApp with PowerCLI. $civapp = Get-CIvApp "Test" $newname = $civapp.Name + "_OLD" Set-CIVApp -vApp $civapp -Name $newname Set-CIVApp : 8/6/2013...
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 ArticlevCD Powercli question....digging through API
Does anyone know how to extract the DateCreated for vApps and VMs via PowerCLI? The dates are readily available in the DB in dbo.vms, but i can't seem to dig it out via PowerCLI. I've found some...
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 ArticleQuestion: sVmotion and vCloud Director - updating VM's storage profile
Hi, I'm going to migrate a lot of vApps/virtual machines running in vCloud Director to a new storage system, and have created new Storage Profiles for this... I've found info and tried out some...
View ArticleSetting properties of VMs in a vApp
I have a few vApps with 25 VMs each in vCloud Director and would like to set a few properties to on / off with PowerCLI as the gui is a mission. These options include: Set "Enable guest customization"...
View Articleexporting 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 ArticleDeleting CIVM from a CIvApp
Hi, I would like to remove a specific CIVM from a CIvApp. The CIvApp is stopped and powered off. The following bit of code works but performance is inconsistent. Sometimes it takes a few seconds,...
View ArticleObtain vApp expiration date
Hey All,Im trying to get a vApps expiration date using PowerCLI. I can: $FrankApp = Get-CIVApp -name "Frank" $FrankApp.RuntimeLease Days : 30Hours : 0Minutes :...
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 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 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 ArticleAutomate DRS groups affinity in a vcloud environment
Hi, I'm trying to automate affinity rules for drs groups manger on a vcloud cluster.The idea is to let certain VMs run on assigned esx hosts.We do not create the vm's ourself -> our customers...
View ArticleAdd a VM to a vApp using PowerShell
Hello, I am trying to add a VM to a vApp using PowerShell. I know that there is no explicit cmdlet to do it, and I need to recompose the vApp. I've used the great Instantiation script from...
View ArticleHow to delete a deployed VApp using vCloud Dir PowerCLI commands
Using vCloud 1.5 and PowerCLI, along with some nifty scripts I found online, I can instantiate a vCloud VApp Template and can start and stop the VApp as well, all through vCloud....
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 Article