r/PowerShell • • Jun 24 '18

Script Sharing PSWriteWord - PowerShell Module to create Microsoft Word documents without Word installed...

I wanted to share something new with you today. PowerShell module called PSWriteWord. As the name suggest this little module is able to create Microsoft Word documents on the fly from PowerShell. The tricky part is ... it doesn't require Microsoft Word installed on the machine to work. As always source is available on GitHub, published as module to PowerShellGallery and for those that want to use it I've created about 20 examples showing different functionalities. It's still work in progress and probably will be for longer time as I've to find the best ways to utilize some features. I do hope for some decent feedback. Enjoy

Module page: https://evotec.xyz/hub/scripts/pswriteword-powershell-module/

GitHub: https://github.com/EvotecIT/PSWriteWord

152 Upvotes

40 comments sorted by

View all comments

2

u/chris_conlan Jun 24 '18

This is pretty cool. As someone runs DOCX generators on Linux, I am no stranger to generating Word docs without Word installed. Are you using the OpenOffice XML standard? Or something else?

3

u/MadBoyEvo Jun 24 '18

I'm a coauthor / maintainer of old docx.codeplex.com which after move to GitHub was given up to Xceed.for further work. They have kept the old code as DocX-Classic and wrote new version of it that they are developing further as a commercial product. I'm working on their free (community) edition which is 4 versions behind at the moment. But I got a promise from them that they will be adding fixes/new features to the free versions (just with a delay). So to answer your question... https://github.com/xceedsoftware/DocX is what I use now.

1

u/chris_conlan Jun 24 '18

Cool, good luck with the product launch

2

u/MadBoyEvo Jun 24 '18

There is no product launch. This is it.. just community edition.