0 Replies Latest reply on Jun 7, 2016 2:15 AM by VM_Darren

    How to reset a vAppNetwork using PowerCLI

    VM_Darren Lurker

      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