Monday, August 19, 2013

Powershell and Outlook: Create new Outlook Notes using Powershell “OutlookTools” module.



Good Evening everyone.

I would like to say thanks to everyone to give me a positive feedback on my “OutlookTools” module.

Now We have a Powershell functions to create new Calendar meeting, contacts, tasks. now its is time to create a outlook notes using Powershell.

“OutlookTools” Module download link:

Let’s start


  1. First download the “OutlooTools.Psm1” and .psd1 file from
  2. Create a folder Name “OutlookTools” in “Libraries\Documents\WindowsPowershell\Modules
  3. and paste both files there.

12-08-2013 1 
Now open Powershell console and run the cmdlet, 

Import-Module OutlookTools

12-08-2013 2

By running the Get-Command cmdlet, we can see which cmdlet and function this modules had added.

Get-Command -Module outlooktools

You can see now we have a New-OutlookNote function in the module.


The Outlook notes has very simple structure. When you create a Note is Outlook, you just click on New and you start typing, and Outlook auto named it as per your first typed line.

But in my “New-OutlookNote” function, i created two parameter, one is title and second is Body. Using –Title parameter you can give a title name for the note and add rest of the note to body.

I have also added the –Color parameter, so that you can create different colour notes from the functions. One thing need to remember is that the value of –Color is in number from 0-4

Value Color
0 Blue
1 Green
2 Red
3 Yellow
4 white


Creating a simple Note. with title and a simple body.

New-OutlookNote -Title "Hello" -Body "Hello World"

19-08-2013 1

and here is the our note.

19-08-2013 2


Creating another note but with different color.

New-OutlookNote -Title "Brainstroming" -Body "need to purchase some brain storm soft" -Color 2



19-08-2013 3 

19-08-2013 4

You can download the module from this link.

I am hoping that you also started loving Powershell and automation :)


Aman Dhally
clip_image001 clip_image002 clip_image003 clip_image005clip_image007

No comments:

Post a Comment