Filter and Retrieve vApp Networks

To generate reports about vApp networks, you need to retrieve the respective vApp networks. You can use search criteria to filter the results returned by Get-CIVAppNetwork.

Prerequisites

Verify that you are connected to a vCloud Director server.

Procedure

  • Get the vApp network named MyVAppNetwork.
    Get-CIVAppNetwork -Name 'VAppNetwork'
  • Get all vApp networks for the vApp named MyVApp.
    Get-CIVApp -Name 'MyVApp'| Get-CIVAppNetwork
  • Get all vApp networks of connection type direct and direct fenced.
    Get-CIVAppNetwork -ConnectionType Direct, DirectFenced
  • Get all direct vApp networks that connect to the organization vDC network named MyOrgVdcNetwork.
    Get-OrgVdcNetwork -Name 'MyOrgVdcNetwork' | Get-CIVAppNetwork -ConnectionType Direct