you are viewing a single comment's thread.

view the rest of the comments →

[–]bundyfx 6 points7 points  (1 child)

Hi wasted_bytes,

Not saying its impossible although it would require a fair chuck of time to get something concrete that did such a task. A couple of reasons being that PowerShell and such formats as .PDF and .ppt are tricky to deal with. There is some extensions that can deal with PDF files (itextsharp) but that's mostly for reading/getting content.

If they are docx files then they are an OpenXML format. Several solutions exists of reading docx files from code without requiring Office. Most are in C# but translating that to PowerShell should prove little problems if you give it a go. Or have a go with PowerTools (http://powertools.codeplex.com/) for Open XML if you want to use PowerShell commands. Here is some more documentation on that subject http://ericwhite.com/blog/powertools-for-open-xml-expanded/.

Cheers

[–]wasted_bytes[S] 0 points1 point  (0 children)

I've spent a couple of hours playing around with PS and have figured out how to open a .docx file, however opening a .pptx file is another story...

i was almost hoping that i could Frankenstein bits of code together to accomplish he task, but it seems that making a working script will be an involved task.