We can use PowerShell to create a QR connect to define a location on a map with a longitude and a latitude.
QR code for location with PowerShell |
Coding
You need to initial install the following:
Install-Module -Name QRCodeGenerator
We can use PowerShell to create a QR connect to define a location on a map with a Longitude and a latitude:
$lt=$Args[0] $lg=$Args[1] $imgfile=$Args[2] $comma="," $address=$lt, $lg -join "," 'Address: ',$address Set-ExecutionPolicy Unrestrict Import-Module QRCodeGenerator New-QRCodeGeolocation -Address $address -OutPath $imgfile
Here is the location of the Edinburgh Napier University campus: