Scripting Blog

A place to learn about PowerShell and share stories of automation

Hey, Scripting Guy! How Can I Determine the Age, in Years, of an Office Outlook Contact?

Hey, Scripting Guy! Given the birthday for one of my Office Outlook contacts, how can I tell how old that person is?-- JC Hey, JC. We have to tell you, JC, that you initially gave us quite a start with this question. Why? Well, when the Scripting Guy who writes this column sat down to write this column, he tossed together a script and, in ...

Hey, Scripting Guy! How Can I Save the Attachments for All My New Office Outlook Messages?

Hey, Scripting Guy! I’ve been testing your script for saving all the attachments in your Outlook Inbox, and it works great. However, I have a question: is it possible to get this script to run only against new emails?-- CN Hey, CN. Welcome to today’s Hey, Scripting Guy! column, brought to you on-location from the La Quinta Inn in ...

How Can I Create a New Folder in Microsoft Outlook?

Hey, Scripting Guy! How can I create a new folder in Microsoft Outlook?-- TY Hey, TY. You know, this is an exciting time here at Microsoft; after all, last night at midnight we officially released one of the most highly-anticipated software products ever created: a script that can create a new folder in Microsoft Outlook! Oh, wait; sorry. ...

How Can I List the Addresses in My Sent Items Folder in an Excel Spreadsheet?

Hey, Scripting Guy! How can I get a list of all the email addresses in my Sent Items and then write those addresses to an Excel spreadsheet?-- RD Hey, RD. As a matter of fact, yes, we are having problems focusing on work today. Granted, that’s true most days. However, at least today it’s understandable, coming on the heels of a very ...

How Can I Get a List of Appointments for a Specific Month?

Hey, Scripting Guy! How can I get a list of my appointments for a specific month (for example, all my appointments for December, 2007)?-- HG Hey, HG. We’ll get to your question in just a moment. Before we do that, however, the Scripting Guy who writes this column wants to take a little time and enjoy the last few days of August (and, in ...