From: EdTheDev Date: Sun, 19 Nov 2023 03:42:40 +0000 (-0600) Subject: How to X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/commitdiff_plain/f2d4a823901a7bb27b8544f3dbb262d9f21dbbfb?hp=e7972458e707b1ca21bc8e26c35771f78f585c30 How to --- diff --git a/psmodules/house_shopping.md b/psmodules/house_shopping.md index af1c9b4..da0d848 100644 --- a/psmodules/house_shopping.md +++ b/psmodules/house_shopping.md @@ -1,4 +1,10 @@ +## Use + + +Call `Add-Addresses` to copy records from `Addresses.csv` to `Address_Ddetails.csv`. + +Call `Add-AddressLocations` to fetch latitude and longitude for all addresses in `Address_Details.csv`. ## Reference diff --git a/psmodules/house_shopping.psm1 b/psmodules/house_shopping.psm1 index f58c4d8..33ad6a2 100644 --- a/psmodules/house_shopping.psm1 +++ b/psmodules/house_shopping.psm1 @@ -1,5 +1,5 @@ -function Add-Address(){ +function Add-Addresses(){ Param( [string]$addressFile = "Addresses.csv" [string]$outFile= "Address_Details.csv"