Aug
06
Small PowerShell function library for Word2007
Thursday, 6. August 2009 20:59
I created a small library of functions for creating word documents using PowerShell. The library contains 8 functions that allow you to create simple documents in Word2007 (maybe also Word 2003 but I haven’t been able to test it yet).
The functions are:
- WORD\Invoke-Word
- WORD\Add-Heading
- WORD\Add-Paragraph
- WORD\Add-Table
- WORD\Add-TableOfContents
- WORD\Add-PageBreak
- WORD\Add-TextBox
- WORD\Update-TablesOfContents
A small example script is included in the zip file which can be downloaded here.
A screenshot of one of the chapter generated by the example script:
Category:Office 2007, PowerShell | Comment (0) | Autor: Dennis Damen