Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

Hey, Scripting Guy! How Can I Read Words in a Text File and Make Those Same Word Italic in a Word Document?

(image)   (image) Hey, Scripting Guy! I came across this blog and it has since become a staple of mine. Now, I need to know how to accomplish something more than was originally presented in your article, Hey, Scripting Guy! How Can I Italicize Specific Words in a Microsoft Word Document? Suppose I wanted to create an array containing ...

Hey, Scripting Guy! How Can I Add Custom Properties to a Microsoft Word Document?

(image)   (image) Hey, Scripting Guy! A few months ago, you wrote a really cool Hey, Scripting Guy! post, How Can I Retrieve the Custom Properties of a Microsoft Word Document. The post illustrated how to use Windows PowerShell to read the custom properties from Microsoft Word documents. You, however, did not show how to modify the value...

Hey, Scripting Guy! How Can I Create a Disk Space Report in a Word Document?

(image)     (image) Hey, Scripting Guy! We are having problems with several of our servers at work. Several of them were upgraded from Windows NT 4, and as a result, we are constantly running into disk space issues on the C: drive. I would rather manage the problem than take the servers down and rebuild them because we already have...

Hey, Scripting Guy! How Can I Retrieve the Custom Properties of a Microsoft Word Document?

(image)     (image) Hey Scripting Guy! One of the things that I hate about Microsoft Word is the custom properties that can be set on a document. Ok, well maybe I do not actually hate the custom properties. In fact, I would love to love them. The problem is that after they are set, they actually seem to disappear forever. I cannot ...

Hey, Scripting Guy! How Can I List All the Properties of a Microsoft Word Document?

(image)     (image) Hey, Scripting Guy! I am trying to find a Windows PowerShell script that will list all the properties of a Microsoft Word document. I am not talking about the size and the date of the document; those are file properties. I am talking about stuff like the author, the subject, and those properties most people ...