powershellscripts.com

Tutorials  PowerShell Cmdlet Help for Get-OrgNetwork



NAME
Get-OrgNetwork

SYNOPSIS
Retrieves cloud organization networks.

SYNTAX
Get-OrgNetwork [[-Name] ] [-ExternalNetwork ] [-Org ] [-VM ] [-NetworkP
ool ] [-Server ] []

Get-OrgNetwork -Id [-Server ] []


DESCRIPTION
Retrieves cloud organization networks. You can filter the output by using the cmdlet parameters.


PARAMETERS
-Name
Specify the names of the cloud organization networks you want to retrieve.

Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? true

-ExternalNetwork
Retrieve only the organization networks connected to the specified external networks. Note: This parameter is o
nly available to Provider Administrators.

Required? false
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? true

-Org
Specify the organizations for which you want to retrieve networks.

Required? false
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? true

-VM
Retrieve only the networks to which the specified virtual machines are connected.

Required? false
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? true

-NetworkPool
Retrieve only the organization networks that have been created from the specified pools. Note: This parameter i
s only available to Provider Administrators.

Required? false
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? true

-Server
Specify the cloud servers on which you want to run the cmdlet. If no value is given to this parameter, the comm
and runs on the default servers. For more information about default servers, see the description of Connect-CIS
erver.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? true

-Id
Specify the Ids of the cloud organization networks you want to retrieve.

Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false


This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS
OrgNetwork


NOTES




-------------- Example 1 --------------

C:\PS>Get-OrgNetwork


Gets all visible organization networks for the current user.





-------------- Example 2 --------------

C:\PS>Get-OrgNetwork -Name "OrgNetwork1"


Gets an existing organization network named "OrgNetwork1".





-------------- Example 3 --------------

C:\PS>Get-OrgNetwork -ID $orgNetwork1Id


Gets an organization network with given ID.





-------------- Example 4 --------------

C:\PS>Get-Org -Name "Organization1" | Get-OrgNetwork


Gets all visible networks within an organization.





-------------- Example 5 --------------

C:\PS>Get-ExternalNetwork -Name "ExternalNetwork1" | Get-OrgNetwork


Gets all visible organization networks for an external network.





-------------- Example 6 --------------

C:\PS>$OrgNetwork1 = Get-OrgNetwork -Name "OrgNetwork1";
$OrgNetwork1.NetworkPool | Get-OrgNetwork


Gets all visible organization networks for a network pool.





-------------- Example 7 --------------

C:\PS>Get-CIVM -Name "CloudVM1" | Get-OrgNetwork


Gets an organization network for a CIVM.






RELATED LINKS
Online version: http://www.vmware.com/support/developer/PowerCLI/PowerCLI501/html/Get-OrgNetwork.html
Get-Org
Get-OrgVdc