Scripting Blog

A place to learn about PowerShell and share stories of automation

Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (9/18/09)

Can I Delete All Items in the Deleted Items Folder? Hey, Scripting Guy! I need a VBScript script that will delete all of the e-mails in the Deleted Items folder. I have tried to do this, but I am not able to get it to delete all of the items in the folder. One time it deletes one or two items, and then on another occasion it appears ...

Hey, Scripting Guy! How Can I Display My Office Outlook Appointments Without Starting Office Outlook?

Hey, Scripting Guy! I live and I die by my Office Outlook calendar. But Office Outlook sometimes seems to be rather slow when I am logging on first thing in the morning. When I have to boot up my laptop, log on to the network, start Office Outlook, and wait for five minutes just to see what my appointments are, it seems to be a bit much. I ...

Hey, Scripting Guy! How Can I Notify Users of the Space Their Deleted Items Folder Is Using?

Hey, Scripting Guy! My users seem to think that once they delete an e-mail message, it is gone. Most do not have the concept of going and emptying their Deleted Items folder. Using Windows PowerShell on Exchange, I can easily obtain a report from the server about how much space this stuff is taking up. I would like a script the users can run...

Hey, Scripting Guy! How Do I Determine How Many Office Outlook E-Mail Messages I Sent in a Week?

Hey, Scripting Guy! The Pointy Headed Boss (PHB) just got back from some kind of stupid management summit, and he has decided he needs to track our work activities more closely. As a result, we now have to give him a weekly progress report. Seems to me that, if he would pay attention, he would know what we do, but then that would require ...

Hey, Scripting Guy! How Do I Use Windows PowerShell to Work with Junk E-Mail in Office Outlook?

Hey, Scripting Guy! I need to find out how many e-mail messages are in my Junk folder. I found a script that does this with VBScript, but I need to be able to do it in Windows PowerShell. I do not want to delete the junk e-mail, because there are times when it is not junk. But because Office Outlook automatically moves e-mail to the Junk ...

Feedback usabilla icon