API Reference
Command
New-ImageBarCode
Creates a barcode image.
Remarks
Creates a barcode image.
Examples
Create barcode
New-ImageBarCode -Type EAN -Value 9012341234571 -FilePath barcode.png
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.
Syntax
New-ImageBarCode -FilePath <String> -Type <Code128> -Value <String> [<CommonParameters>]#Parameter set:
All Parameter SetsParameters
- FilePath String
- Output path for the barcode image.
- Type BarcodeType
- Barcode type.
- Possible values:
Code128,GS1_128,Code39,Code93,EAN,UPCA,UPCE,ITF14,ITF,Industrial2of5,Matrix2of5,IATA2of5,PatchCode,Codabar,MSI,Code11,Plessey,Telepen,Pharmacode,PharmacodeTwoTrack,Code32,Postnet,Planet,RoyalMail4State,AustraliaPost,JapanPost,GS1DataBarTruncated,GS1DataBarOmni,GS1DataBarStacked,GS1DataBarExpanded,GS1DataBarExpandedStacked,UspsImb,KixCode,DataMatrix,PDF417,MicroPDF417,GS1DataBarLimited,GS1DataBarStackedOmni,MaxiCode,DotCode,HanXin,GS1Composite - Value String
- Value encoded in the barcode.