Skip to content

Instantly share code, notes, and snippets.

@pkirch
Created March 12, 2015 18:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pkirch/ffc23f0e00764c93eab5 to your computer and use it in GitHub Desktop.
Save pkirch/ffc23f0e00764c93eab5 to your computer and use it in GitHub Desktop.
This sample shows the output of the PowerShell command Get-AzureVNetSite.
Get-AzureVNetSite
<# Output
AddressSpacePrefixes : {10.0.0.0/8}
Location : West Europe
AffinityGroup :
DnsServers : {DC1}
GatewayProfile :
GatewaySites :
Id : f4fc826b-b846-470e-9d9a-d481ecb3e360
InUse : False
Label :
Name : pkbackup
State : Created
Subnets : {Subnet-0, Subnet-1, Subnet-2, Subnet-3}
OperationDescription : Get-AzureVNetSite
OperationId : 43123a8f-303d-7ea2-8f5e-3107fe91543f
OperationStatus : Succeeded
#>
Get-AzureVNetSite | select -ExpandProperty Subnets
<# Output
Name AddressPrefix ExtensionData
---- ------------- -------------
Subnet-0 10.0.0.0/16
Subnet-1 10.1.0.0/16
Subnet-2 10.2.0.0/16
Subnet-3 10.3.0.0/16
#>
Get-AzureVNetSite | select -ExpandProperty DnsServers
<# Output
Name Address ExtensionData
---- ------- -------------
DC1 10.0.0.4
#>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment