Skip to content

Latest commit

 

History

History
131 lines (95 loc) · 2.91 KB

Get-AzureVNetSite.md

File metadata and controls

131 lines (95 loc) · 2.91 KB
external help file ms.assetid online version schema
Microsoft.WindowsAzure.Commands.ServiceManagement.dll-Help.xml
CFAA371E-F320-4FC3-80E0-5C857E5C0998
2.0.0

Get-AzureVNetSite

SYNOPSIS

Gets a list object with information about Azure virtual networks.

[!INCLUDE rdfe-banner]

SYNTAX

Get-AzureVNetSite [[-VNetName] <String>] [-Profile <AzureSMProfile>] [-InformationAction <ActionPreference>]
 [-InformationVariable <String>] [<CommonParameters>]

DESCRIPTION

The Get-AzureVNetSite cmdlet gets 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.

EXAMPLES

Example 1: Get information about all virtual networks in the current subscription

PS C:\> Get-AzureVNetSite

This command gets information about all the virtual networks in the current subscription.

Example 2: Get information about a specific virtual network in the current subscription

PS C:\> Get-AzureVNetSite -VNetName "MyProductionNetwork"

This command retrieves information on the MyProductionNetwork virtual network only.

PARAMETERS

-InformationAction

Specifies how this cmdlet responds to an information event.

The acceptable values for this parameter are:

  • Continue
  • Ignore
  • Inquire
  • SilentlyContinue
  • Stop
  • Suspend
Type: ActionPreference
Parameter Sets: (All)
Aliases: infa

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-InformationVariable

Specifies an information variable.

Type: String
Parameter Sets: (All)
Aliases: iv

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Profile

Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.

Type: AzureSMProfile
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-VNetName

Specifies a virtual network name to return information about.

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

OUTPUTS

NOTES

RELATED LINKS

Get-AzureVNetConfig

Remove-AzureVNetConfig

Set-AzureVNetConfig