Get-OrgNetwork
This cmdlet is deprecated. Use Get-OrgVdcNetwork instead.This cmdlet retrieves cloud organization networks. You can filter the output by using the cmdlet parameters.
Syntax
[-Name <String[]>]
[-NetworkPool <NetworkPool[]>]
[-Org <Org[]>]
[-Server <CIServer[]>]
[-VM <CIVM[]>]
[CommonParameters]
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
optional |
|
ExternalNetwork[] | named |
|
Retrieves only the organization networks connected to the specified external networks. Note: This parameter is only available to Provider Administrators. | optional |
|
String[] | named |
|
Specifies the names of the cloud organization networks you want to retrieve. | optional |
|
NetworkPool[] | named |
|
Retrieves only the organization networks that have been created from the specified pools. Note: This parameter is only available to Provider Administrators. | optional |
|
Org[] | named |
|
Specifies the organizations for which you want to retrieve networks. | optional |
|
CIServer[] | named |
|
Specifies the cloud servers on which you want to run the cmdlet. If no value is given to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-CIServer. | optional |
|
CIVM[] | named |
|
Retrieves only the networks to which the specified virtual machines are connected. |
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required |
|
String[] | named |
|
Specifies the IDs of the cloud organization networks you want to retrieve. Note: When a list of values is specified for the Id parameter, the returned objects would have an ID that matches exactly one of the string values in that list. | optional |
|
CIServer[] | named |
|
Specifies the cloud servers on which you want to run the cmdlet. If no value is given to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-CIServer. |
Output
VMware.VimAutomation.Cloud.Types.V1.OrgNetwork
Examples
Example 1
Gets all visible organization networks for the current user.
Example 2
Gets an existing organization network named "OrgNetwork1".
Example 3
Gets an organization network with given ID.
Example 4
Gets all visible networks within an organization.
Example 5
Gets all visible organization networks for an external network.
Example 6
Gets all visible organization networks for a network pool.
Example 7
Gets an organization network for a CIVM.
Related Commands
Org
OrgNetwork
OrgVdc