Command
New-ImageQRContact
Generates a QR code image containing the provided contact details.
Syntax
New-ImageQRContact
[-AddressOrder <Default| Reversed>]
[-BackgroundColor <Color>]
[-Birthday <DateTime>]
[-City <String>]
[-Country <String>]
[-Email <String>]
[-FilePath] <String>
[-Firstname <String>]
[-ForegroundColor <Color>]
[-HouseNumber <String>]
[-Lastname <String>]
[-MobilePhone <String>]
[-Nickname <String>]
[-Note <String>]
[-Org <String>]
[-OrgTitle <String>]
[-OutputType <MeCard| VCard21| VCard3| VCard4>]
[-Phone <String>]
[-PixelSize <Int32>]
[-Show]
[-StateRegion <String>]
[-Street <String>]
[-Website <String>]
[-WorkPhone <String>]
[-ZipCode <String>]
[<CommonParameters>]#Parameter set:
All Parameter SetsExamples
Create a vCard QR code
New-ImageQRContact -FilePath contact.png -Firstname John -Lastname Doe -Phone 123456789Creates a simple contact QR code that can be scanned into a phone address book.
Create a richer business contact QR code
New-ImageQRContact -FilePath consultant.png -OutputType VCard4 -Firstname John -Lastname Doe -Email john.doe@evotec.pl -MobilePhone '+48 500 600 700' -Org Evotec -OrgTitle Consultant -Street Example -HouseNumber 15A -City Warsaw -ZipCode '00-001' -Country Poland -Website 'https://evotec.pl'Generates a business card style QR code with address, organization, and contact metadata.
Parameters
- -AddressOrder QrContactAddressOrder
- Order of address fields in the QR code.
- Possible values:
Default,Reversed - -BackgroundColor Color
- Background color of the QR code.
- -Birthday DateTime
- Birthday date.
- -City String
- City name.
- -Country String
- Country name.
- -Email String
- Email address.
- -FilePath String
- The image format is inferred from the file extension.
- -Firstname String
- Given name of the contact.
- -ForegroundColor Color
- Foreground color of QR modules.
- -HouseNumber String
- House or building number.
- -Lastname String
- Surname of the contact.
- -MobilePhone String
- Mobile phone number.
- -Nickname String
- Optional nickname.
- -Note String
- Additional notes.
- -Org String
- Organization name.
- -OrgTitle String
- Contact's title or role within the organization.
- -OutputType QrContactOutputType
- Contact output type.
- Possible values:
MeCard,VCard21,VCard3,VCard4 - -Phone String
- Primary phone number.
- -PixelSize Int32
- Pixel size for each QR module.
- -Show SwitchParameter
- Open image after creation.
- -StateRegion String
- State or region.
- -Street String
- Street name of the address.
- -Website String
- Personal or company website.
- -WorkPhone String
- Work phone number.
- -ZipCode String
- Postal code.
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.