Get-AzureVNetSite
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Get-AzureVNetSite
Returns an object describing Azure virtual networks.
Syntax
Parameter Set: Default
Get-AzureVNetSite [[-VNetName] <String> ] [ <CommonParameters>]
Detailed Description
This topic describes the cmdlet in the 0.8.10 version of the Microsoft Azure PowerShell module. To get the version of the module you're using, in the Azure PowerShell console, type (Get-Module -Name Azure).Version.
The Get-AzureVNetSite cmdlet returns a list object with information about Azure virtual networks for the current subscription.. If you specify a virtual network name, only information for that virtual network is returned.
Parameters
-VNetName<String>
Specifies a virtual network name to return information about.
Aliases |
none |
Required? |
false |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
Examples
-------------- Example 1 --------------
This example retrieves information about all the virtual networks in the current subscription.
C:\PS>Get-AzureVNetSite
-------------- Example 2 --------------
This example retrieves information on the "MyProductionNetwork" virtual network only.
C:\PS>Get-AzureVNetSite –VNetName "MyProductionNetwork"