Showing results for February 2015 - Page 4 of 12 - Scripting Blog [archived]

Feb 21, 2015
Post comments count1
Post likes count0

Weekend Scripter: Add Comment to Word Doc

Doctor Scripto
Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to add a comment to a Microsoft Word document. Microsoft Scripting Guy, Ed Wilson, is here. I spend a lot of time using Microsoft Word. In fact, I spend more time using Word than Microsoft Outlook—and that is saying something. Actually, it is saying a lot. ...

Scripting Guy!Windows PowerShellWeekend Scripter
Feb 20, 2015
Post comments count0
Post likes count0

PowerTip: Release COM Object in PowerShell

Doctor Scripto
Doctor Scripto

Summary: Learn how to release a COM object in Windows PowerShell.   How can I make sure that a COM object in my Windows PowerShell automation script releases?  Use the ReleaseCOMObject static method from the Marshal class, and then pass it to the variable            that holds th...

Scripting Guy!Windows PowerShellPowerTip
Feb 20, 2015
Post comments count0
Post likes count0

Use PowerShell to Add Table to Word Doc and Email as Attachment

Doctor Scripto
Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to create a document in Microsoft Word, add a table, and email the document as an attachment. Microsoft Scripting Guy, Ed Wilson, is here. One of the cool things I like to do with Windows PowerShell is to combine multiple tasks so that it makes life easier for me. I u...

Scripting Guy!Windows PowerShellOffice
Feb 19, 2015
Post comments count0
Post likes count0

PowerTip: Get Row from CSV File Based On Value

Doctor Scripto
Doctor Scripto

Summary: Use Windows PowerShell to get a row from a CSV file based on a specific value.  How can I use Windows PowerShell 4.0 to look up a specific row from a CSV file I imported into a variable?  Use the Where method, and use a match pattern to search on a specific column and value, for example: $topics = import-csv -Path ...

Scripting Guy!Windows PowerShellscripting techniques
Feb 19, 2015
Post comments count0
Post likes count0

Add Custom Headers to Folder Full of Word Documents

Doctor Scripto
Doctor Scripto

Summary: Microsoft Scripting Guy, Ed Wilson, talks about reading a CSV file and adding custom headers to a folder full of Word documents. Microsoft Scripting Guy, Ed Wilson, is here. The snow continues to befuddle the drivers around here, and as a result, the Scripting Wife and I are staying home. This has given me a lot of time to sit, look at the...

Scripting Guy!Windows PowerShellOffice