PowerShell : Get Distance Between Cities using Google Map Distance Matrix API

HOW IT WORKS : Idea is to use the Google Map’s Distance Matrix API to calculate distance between two cities. Just to show you how it work, please navigate the below mentioned URL and pass necessary parameters. You’ll reach to an XML page which has all the necessary information. Capture the content of this page using Powershell and the… Read More PowerShell : Get Distance Between Cities using Google Map Distance Matrix API

PowerShell : Resolve DNS Hostname to IP and Reverse using a Single function

HOW IT WORKS : Use the System.Net Namespace‘s DNS ( System.Net.Dns ) class and its function ( getHostEntry() ) to resolve the Host to IPAdress resolution and Vice-Versa NAMESPACE :  System.Net ASSEMBLY    :  System (in System.dll) FUNCTION     :  GetHostentry WHAT IS System.Net NAMESPACE ? The System.Net namespace provides a simple programming interface for many of the… Read More PowerShell : Resolve DNS Hostname to IP and Reverse using a Single function