Adding a vApp Template to Cloud from Catalog in vCD with PowerCLI
I've imported the VM's directly from Virtual Center and created a vApp with Import-CIvApp. I've then shutdown and captured to Catalog with assistance from AtanasAtanasov. So now I have 4 Catalogs each...
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 ArticleVcloud PowerCLI - Email whole Org
Hi CLIers. In vclouds UI we see there is a button to email all available email addresses in that certain vCloud Org. Is there some call that can be made from PowerCLI to perform this Action? Say I want...
View ArticleStorage Profiles
Hello I am doing some testing with powercli and vCloud director. PowerCLI C:\> $storage = Get-OrgVdc -name OrgvdcPowerCLI C:\> $storage.StorageLimitGB200 200 is actually the combined storage from...
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 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 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 ArticleGet-ProviderVdc returns Null values for StorageUsedGB StorageAllocatedGB and...
Has anyone else seen this? The Get-OrgVdc does return Storage information but I want to collect it from the Provider VDC PowerCLI C:\Scripts\vmware> Get-ProviderVdc moc-vmcl1101-pvdc Name...
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 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 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 ArticleWorking with vCloud Metadata in PowerCLI
Based on Jake Robinson's post at GeekAfterFive - Infrastructure as Code, it seems the sample scripts in Alan Renouf's March 30, 2012 post to the VMware PowerCLI Blog, Working with vCloud Metadata in...
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 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 ArticleVdcStorageProfiles missing in Orgvdc object (version5.1)
Hi,I'm trying to create organisation VDC's in vCloud 5.1.New to version 5.1 is the use of storage profiles in the provider VDC.I cannot create an Org VDC with storage profiles since this property does...
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 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 ArticleCreate vDC Storage Profile Help
I am kind of new to all of this, but I wanted to put together a simple script that would automate my team's administration of vCD. Specifically org and org vDC creation, etc. I pieced together this...
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 Article