VMware Cloud Community
0Walt0
Contributor
Contributor

Useful Scripts

Being new to PowerCLI cmdlets, I have come to love managing vSphere and vCloud through Powershell scripts.

So much that I wanted to share some scripts that I made for daily tasks and encourage others to post some of their favorite scripts.

The first (CreateAndStart.ps1) is what I use to test our system's resilience to predicted work loads by making and starting multiple vApps from a given vAppTemplate.

The second (Cleanup.ps1) is a script to stop and remove all vApps from a particular organization, cleaning up the mess from the previous script.

Both scripts are attached.

Hope you guys find these useful!

Reply
0 Kudos
3 Replies
LucD
Leadership
Leadership

May I suggest that you place scripts under the Documents tab instead of under Discussions.

These Discussion threads tend to get lost in the crowd :smileygrin:


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

paulrg
Contributor
Contributor

Is there a powercli command for Deleting a vApp Template? Remove-CIVApp does not seem to work,

Thanks

Reply
0 Kudos
0Walt0
Contributor
Contributor

Remove-CIVAppTemplate is used to remove templates from vCloud, and Remove-Template for vSphere.

Reply
0 Kudos