Paul Vaillant

Convert-JpgToPdf

Converts JPG images to PDF using MS Word

Syntax

Convert-JpgToPdf.ps1 [[-Images] <String[]>] [[-CombinedFilename] <String>] [<CommonParameters>]

Parameters

NameDescriptionRequired?Pipeline Input?Default Value
ImagesPath to images to be convertedfalsetrue (ByValue)
CombinedFilenameOptional filename to output a single document with one image per pagefalsefalse

Notes

Version 1.0.0 (2015-05-27)
Written by Paul Vaillant

Examples

EXAMPLE 1

ls .\pictures\*.jpg | Convert-JpgToPdf.ps1 -CombinedFilename .\pictures.pdf

Generate a single pictures.pdf with one images per page