Using PowerShell to get Azure Endpoint Ports

A quick blog today. I was reading this blog post about How to read the SQL Error Log and I thought I would try some of the examples. I started my Azure VM using the steps in my previous post

I ran

and saw my box had started

image

and then

image

and bingo I had my SQL Port to put in SSMS and can go and play some more with SQL

Please feel free to comment on this post. All comments are moderated first before appearing on the site