en-us/Looking_Up_Locations_With_Resolve-Location.walkthru.help.txt

<#
 
Every once in a while, you want to be able to locate a real spot somewhere on the face of the planet.
 
 
Pipeworks includes a cool cmdlert for just this purpose: Resolve-Location.
 
 
Resolve-Location uses two public web services to do GeoLocation, [FreeGeoIP.net](http://freegeoip.net) and [Geocoder.us](http://geocoder.us).
 
 
The first works off of IP addresses, and the second works only for US addresses.
 
 
Both resolve a location to a [http://schema.org/Place](http://schema.org/Place). When you view a Place inside of a web page, it will automatically embed a map.
 
 
This first example will map an IP.
 
#>
Resolve-Location 67.161.126.141
 
 
<#
 
And this will show you where the White House is.
 
#>
 
Resolve-Location "1600 Pennsylvania Ave, Washington, DC"