]> apps.delaporte.us Git - dotfiles.git/blob - psmodules/house_shopping.md
Add question to dashboard
[dotfiles.git] / psmodules / house_shopping.md
1
2 ## Use
3
4
5 Call `Add-Addresses` to copy records from `Addresses.csv` to `Address_Ddetails.csv`.
6
7 Call `Add-AddressLocations` to fetch latitude and longitude for all addresses in `Address_Details.csv`.
8
9 ## Reference
10
11 - [Azure Maps](https://learn.microsoft.com/en-us/powershell/module/az.maps/?view=azps-10.4.1&viewFallbackFrom=azps-10.0.0)
12 - https://learn.microsoft.com/en-us/azure/azure-maps/how-to-search-for-address
13
14
15 https://geekeefy.wordpress.com/2016/05/17/powershell-module-for-google-map/
16
17 ## Setup
18
19 Make sure that PowerShell 7 or higher is installed:
20
21 ```powershell
22 if($PSVersionTable.PSVersion.Major < 7) {
23 winget install --id Microsoft.Powershell --source winget
24 }
25
26 Then inside PowerShell 7, install the Az module:
27
28 ```powershell
29 Install-Module -Name Az -Repository PSGallery -Force
30 ```
31
32 ### Subscription Key
33
34
35
36 Set your subscription key:
37 ```powershell
38 $env:AzMapsSubKey="<your key here>"
39 ```