Every once in a while you need to get some basic network information from your Mac or a Mac you are supporting, this script below will help get you some helpful information.
Tag: Network
PowerShell – Azure – Get Virtual Networks
If you work in Azure these two functions are very valuable additions to your library. Note: This majority of this code is copied from the reference below. I added Gateway Address to the Network Routes along with DNS Reference: http://blog.kloud.com.au/2014/11/11/get-azure-virtual-networks-with-powershell/