PowerShell Cookbook

Search

Categories

 

On this page

Showing Calendars in your OOF Messages

Archive

Blogroll

Disclaimer
I work for Microsoft.

The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

RSS 2.0 | Atom 1.0 | CDF

Send mail to the author(s) E-mail

Toplam Girdi: 252
Bu Yıl: 3
Bu Ay: 0
Bu Hafta: 0
Yorumlar: 736

Sign In

 Tuesday, December 02, 2008
Wednesday, December 03, 2008 1:51:05 AM (Pacific Standard Time, UTC-08:00) ( )

The Outlook team has a tradition of putting calendar diagrams in their OOF messages to try and help clarify the date ranges. In a recent mail to an Outlook-heavy DL, about 50% of the OOF messages I got back contained these mini OOF calendars, so they must find them helpful.

I asked if it was a new-fangled feature in O14, but in fact they do it by hand! (I wonder if they book vacation time for hand-crafting the OOF message.)

If you’re interested in doing the same thing (but a little less painfully,) you can use a PowerShell script: Show-Calendar.ps1.

By the way, I’ll be OOF December 6th through December 7th, returning December 8th.

[C:\Users\leeholm]
PS:1 > Show-Calendar -HighlightDay (6..7) -HighlightDate 12/8/2008

           December 2008

Sun  Mon  Tue  Wed  Thu  Fri  Sat
---  ---  ---  ---  ---  ---  ---
 30    1    2    3    4    5  [ 6]
[ 7] * 8*   9   10   11   12   13
 14   15   16   17   18   19   20
 21   22   23   24   25   26   27
 28   29   30   31    1    2    3

 

Comments [2] | | #