Scripting PDF Documents through PowerShell
Written by Niklas Goude on September 8, 2009 – 12:06 pm
Microsoft Office Supports Scripting possibilities through Com Objects. But what about PDF Documents ? Luckily there is a DLL available for download that let’s us Create PDF documents through .NET
First you have to Download the ITextSHarp.dll
Next, Time for some PowerShell Magic.
Step One: Load the DLL.
PS > [System.Reflection.Assembly]::LoadFrom(“C:\itextsharp\itextsharp.dll”)
Step Two: Create a Variable holding the iTextSharp.text.Document Object
PS [...]

