Showing results for 2009 - Scripting Blog [archived]

Dec 31, 2009
Post comments count0
Post likes count0

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

ScriptingGuy1
ScriptingGuy1

    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 budget to replace th...

Scripting Guy!Windows PowerShellscripting techniques
Dec 30, 2009
Post comments count0
Post likes count0

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

ScriptingGuy1
ScriptingGuy1

    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 get them via script (...

Scripting Guy!Windows PowerShellOffice
Dec 29, 2009
Post comments count0
Post likes count0

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

ScriptingGuy1
ScriptingGuy1

    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 never know even exist for...

Scripting Guy!Windows PowerShellOffice
Dec 28, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Italicize Specific Words in a Microsoft Word Document?

ScriptingGuy1
ScriptingGuy1

    Hey, Scripting Guy! I do not know about you, but I hate having to italicize certain words. Actually, I hate italicizing all words because I do not like removing my hands from the keyboard, grabbing the mouse, and then searching for where the text formatting menus have moved in Office 2007. If I could simply type my Microsoft Word do...

Scripting Guy!Windows PowerShellOffice
Dec 24, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! Can Windows PowerShell Functions Accept More Than One Input?

ScriptingGuy1
ScriptingGuy1

   Hey, Scripting Guy! I have a function that I would like to modify to accept multiple inputs. I have seen examples of a function that uses a single input parameter, but I have not found a Windows PowerShell function that uses two inputs. How can I cause the function to accept two inputs? More importantly, how can I call a function that...

Scripting Guy!Windows PowerShellgetting started