Skip to content

Instantly share code, notes, and snippets.

@pkirch
Last active August 29, 2015 14:12
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/1665d802a697ef0f18f3 to your computer and use it in GitHub Desktop.
Save pkirch/1665d802a697ef0f18f3 to your computer and use it in GitHub Desktop.
Get all endpoints in an Azure Subscription - first simple approach.
Get-AzureVM | Get-AzureEndpoint
<# Output
LBSetName :
LocalPort : 5986
Name : PowerShell
Port : 5986
Protocol : tcp
Vip : 104.40.188.19
ProbePath :
ProbePort : 0
ProbeProtocol :
ProbeIntervalInSeconds :
ProbeTimeoutInSeconds :
EnableDirectServerReturn : False
Acl : {}
InternalLoadBalancerName :
IdleTimeoutInMinutes :
LoadBalancerDistribution :
LBSetName :
LocalPort : 3389
Name : Remote Desktop
Port : 56595
Protocol : tcp
Vip : 104.40.188.19
ProbePath :
ProbePort : 0
ProbeProtocol :
ProbeIntervalInSeconds :
ProbeTimeoutInSeconds :
EnableDirectServerReturn : False
Acl : {}
InternalLoadBalancerName :
IdleTimeoutInMinutes :
LoadBalancerDistribution :
LBSetName :
LocalPort : 5986
Name : PowerShell
Port : 5986
Protocol : tcp
Vip : 191.233.81.126
ProbePath :
ProbePort : 0
ProbeProtocol :
ProbeIntervalInSeconds :
ProbeTimeoutInSeconds :
EnableDirectServerReturn : False
Acl : {}
InternalLoadBalancerName :
IdleTimeoutInMinutes :
LoadBalancerDistribution :
LBSetName :
LocalPort : 3389
Name : Remote Desktop
Port : 61942
Protocol : tcp
Vip : 191.233.81.126
ProbePath :
ProbePort : 0
ProbeProtocol :
ProbeIntervalInSeconds :
ProbeTimeoutInSeconds :
EnableDirectServerReturn : False
Acl : {}
InternalLoadBalancerName :
IdleTimeoutInMinutes :
LoadBalancerDistribution :
LBSetName :
LocalPort : 5986
Name : PowerShell
Port : 5986
Protocol : tcp
Vip : 137.117.194.91
ProbePath :
ProbePort : 0
ProbeProtocol :
ProbeIntervalInSeconds :
ProbeTimeoutInSeconds :
EnableDirectServerReturn : False
Acl : {}
InternalLoadBalancerName :
IdleTimeoutInMinutes :
LoadBalancerDistribution :
LBSetName :
LocalPort : 3389
Name : Remote Desktop
Port : 63809
Protocol : tcp
Vip : 137.117.194.91
ProbePath :
ProbePort : 0
ProbeProtocol :
ProbeIntervalInSeconds :
ProbeTimeoutInSeconds :
EnableDirectServerReturn : False
Acl : {}
InternalLoadBalancerName :
IdleTimeoutInMinutes :
LoadBalancerDistribution :
#>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment