Any of you created a Fixet to pipe the results to file using the Windows location services API ?
An example of the PS - http://www.verboon.info/2013/10/powershell-script-get-computergeolocation/
I think @strawgate was playing with this.
What is your use case? It would be helpful to have some background info for what you are trying to accomplish. It could be that there are other solutions that already exist which may or may not involve powershell.
While not completely related, I do have a task that finds the public IP of the internet connection of the endpoint and logs it to a file. This can help determine which endpoints are behind the same connection, as well as loosely provide some location info.
See this task for a method using NSLookup: https://bigfix.me/fixlet/details/20464 (any OS)
Or this task using HTTP: https://bigfix.me/fixlet/details/20465 (Windows only)
Or this one using cURL: https://www.bigfix.me/fixlet/details/20467
Or this one using wget: https://www.bigfix.me/fixlet/details/20466
Use this analysis to view the results: https://www.bigfix.me/analysis/details/2998049
If you have a computer with the Meraki agent installed, this relevance will give you location data: https://www.bigfix.me/relevance/details/3016267
Here is my very old task to deploy prey
to track stolen computers: https://bigfix.me/fixlet/details/683
I wrote this back when prey was free for 3 devices. I believe it is still open source, so it could still be useful.
Thanks for the info. I already have tasks to pull internet ip, and geo-location based on data from freegeoip.net/maxmind. I am looking for a way to leverage either the google maps api or native windows (wifi) to return physical location similar to how services like prey do it. We currently use prey but on a case by case basis only.