powershellscripts.com

Tutorials  PowerShell Cmdlet Help for Get-ExternalNetwork



NAME
Get-ExternalNetwork

SYNOPSIS
Retrieves cloud external networks.

SYNTAX
Get-ExternalNetwork [[-Name] ] [-VlanId ] [-ProviderVdc ] [-Server ]
[]

Get-ExternalNetwork -Id [-Server ] []


DESCRIPTION
Retrieves cloud external networks. You can filter the returned networks by name, Id, virtual Lan Id, and provider
Vdc. Note: This cmdlet is only available to Provider Administrators.


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

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

-VlanId
Specify the VLAnIds of the cloud external networks you want to retrieve.

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

-ProviderVdc
Retrieve only the external networks accessible by the specified provider Vdc.

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 external 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
ExternalNetwork


NOTES




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

C:\PS>Get-ExternalNetwork


Gets all available cloud external networks. You must be connected as a system administrator.





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

C:\PS>Get-ExternalNetwork -Name ExtNetwork -Server $CIServer


Gets an external network named ExtNetwork from provided server. You must be connected as a system administrator.





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

C:\PS>Get-ProviderVdc "myProviderVDC" | Get-ExternalNetwork


Gets the external networks from the specified provider Vdc. You must be connected as a system administrator.






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