Quantcast
Channel: VMware Communities : Popular Discussions - vCloud Director PowerCLI
Viewing all articles
Browse latest Browse all 13334

How to delete a deployed VApp using vCloud Dir PowerCLI commands

$
0
0

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.   

 

    Instantiate-VApp
    Get-CIVapp NEW-DEPLOYED-TEST1 | Stop-CIVApp -Force
    Get-CIVapp NEW-DEPLOYED-TEST1 | Start-CIVApp

 

But, I cannot delete it. I do see Delete-VApp, but is through the vCenter server I believe, and I want a command that deletes my deployed vApp through the vcloud director, I want the entire Vapp Template I deployed completely gone.

 

I guess I'm just missing something, but at this point google hasn't turned up what I need.


get-command -Module VMware.VimAutomation.Cloud

 

CommandType     Name                
-----------     ----                
Cmdlet          Connect-CIServer    
Cmdlet          Disconnect-CIServer 
Cmdlet          Get-Catalog         
Cmdlet          Get-CIRole          
Cmdlet          Get-CIUser          
Cmdlet          Get-CIVApp          
Cmdlet          Get-CIVAppTemplate  
Cmdlet          Get-CIView          
Cmdlet          Get-CIVM            
Cmdlet          Get-ExternalNetwork 
Cmdlet          Get-Media           
Cmdlet          Get-Org             
Cmdlet          Get-OrgNetwork      
Cmdlet          Get-OrgVdc          
Cmdlet          Get-ProviderVdc     
Cmdlet          Import-CIVApp       
Cmdlet          Import-CIVAppTemplate
Cmdlet          Search-Cloud        

 

Thoughts?

 

Carl


Viewing all articles
Browse latest Browse all 13334

Trending Articles