Showing archive results for 2009

Oct 19, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! Part 1: How Can I Make Sure That a WMI Provider Exists Before Using It in a Script?

ScriptingGuy1

(Editor's note: This is part 1 of a two-part article originally intended for TechNet Magazine. Part 2 will be published tomorrow.)  The sun had barely thought about coming up as I stepped aboard the catamaran that would take me from the Circular Quay across Sydney Harbor to Manly Beach. I staggered slightly as I navigated nearly 100 pound...

Scripting Guy!Windows PowerShellscripting techniques
Oct 15, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I List the Unique Words from a Microsoft Office Word Document?

ScriptingGuy1

Hey, Scripting Guy! I need to obtain a listing of unique words from a Microsoft Word document. I know that there is the Sort-Object cmdlet that can be used to retrieve unique items, and there is the Get-Content cmdlet that can read the text of a text file. However, the Get-Content cmdlet is not able to read a Microsoft Word document, and I...

Scripting Guy!Windows PowerShellOffice
Oct 14, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! Can I Add an Endnote to a Word Document?

ScriptingGuy1

Hey, Scripting Guy! I have a rather strange question. Do you know how to add a reference to a document in Microsoft Word? I am not talking about by using the GUI tools, but by using a Windows PowerShell or a VBScript to add a reference at the bottom of a page in a document. I am not trying to play "stump the chump." I really do have a good...

Scripting Guy!Windows PowerShellOffice
Oct 13, 2009
Post comments count0
Post likes count0

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

ScriptingGuy1

Hey, Scripting Guy! I am so mad right now, I could just about scream. In fact, if you don't mind, I believe I will scream. We have this stupid printer at work that I have to use to print out a very important report. This printer is rather slow when printing out these reports; it prints out about 30 pages a minute. It has a hopper that holds 1...

Scripting Guy!Windows PowerShellOffice
Oct 12, 2009
Post comments count0
Post likes count0

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

ScriptingGuy1

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 of ea...

Scripting Guy!Windows PowerShellOffice