VMware Cloud Community
VM_Darren
Contributor
Contributor

How to reset a vAppNetwork using PowerCLI

Hi

Am looking for some PowerShell assistance to script a reset of a vApp's network via PowerShell, and ultimately, how to reset the vapp network for multiple CIVApps

It can be done via the vCloud Director GUI - see screenshot below

I have found the PowerShell object for VAppNetwork, and it has a Method to Reset, but I do not know how to utilise this.

It is a PowerShell object of type: VMware.VimAutomation.Cloud.Views.VAppNetwork.

The following Methods exist:

Reset                         Method     void Reset()

Reset_Task                    Method     VMware.VimAutomation.Cloud.Views.Task Reset_Task()

Any advice would be appreciated.

Regards

Darren

2016-06-07 11_08_56-VMware vCloud Director.jpg

Tags (2)
0 Kudos
0 Replies