Scripting Blog

A place to learn about PowerShell and share stories of automation

Hey, Scripting Guy! How Do I Count the Number of Words in a Group of Office Word Documents?

Hey, Scripting Guy! I have a folder that contains a number of Microsoft Word documents that are all related to a specific project. I need to know the number of words in all of those Word documents. This is because the project is billable based upon the number of words. In the past, I used Explorer to open each file to get the word count ...

Hey, Scripting Guy! How Can I Figure Out Which Version of Microsoft Office Word Is on a Bunch of Computers?

 Hey Scripting Guy! We are currently beta testing Microsoft Office 2010. It is awesome by the way, and I need to figure out what version of Word we have installed on our computers. I know there are different versions, and I would like to get some kind of inventory before we do the upgrade. How can I determine the version of Word that is ...

Hey, Scripting Guy! How Can I Count How Many Images Are Embedded in Microsoft Word Documents?

Hey Scripting Guy! You are not going to believe this. I have just been given the task of counting how many images are embedded in Word documents. The document folder, of course, has hundreds of documents. I am not sure why they want to know how many documents have embedded images, but I think it has something to do with updating a catalog we...

Hey, Scripting Guy! How Can I Check Spelling and Grammar in Microsoft Office Word?

Hey, Scripting Guy! I loved your last "Hey, Scripting Guy!" article about formatting paragraphs in a Microsoft Office Word document. What I need to do is a little bit more mundane, but for me much more important. I have a number of Word documents that are stored in a folder. Unfortunately, the person who wrote those documents doesn't know ...

Hey, Scripting Guy! How Can I Format a Microsoft Word Paragraph?

Hey, Scripting Guy! I have really been enjoying the recent Windows PowerShell articles on the Script Center. I am wondering if it is possible to use Windows PowerShell to work with a Microsoft Office Word document. Specifically, what I would like to be able to do is to change the paragraph formatting and perhaps add a border. I may be asking...

Feedback usabilla icon