We can use PowerShell to create a QR connect to send contact details to someone.
QR code for contact details in PowerShell |
Coding
You need to initial install the following:
Install-Module -Name QRCodeGenerator
With PowerShell, we can create a QR code graphic in PNG format so that it can be scanned by a smart device with a vCard:
$first=$Args[0] $last=$Args[1] $company=$Args[2] $email=$Args[3] $imgfile=$Args[4] 'First: ',$first 'Last: ',$last 'Email: ',$email 'Company: ',$company Set-ExecutionPolicy Unrestrict Import-Module QRCodeGenerator New-QRCodeVCard -FirstName $first -LastName $last -Company $company -Email $email -OutPath $imgfile
For a first name of "Fred" and last name of "Smith":