Thursday, February 15, 2007

Pipe PowerShell Output OneNote Tip

The Unknown OneNote Guy's Blog PowerNote Send To OneNote 2007

"...

Whenever you select the Send To OneNote 2007 printer the output will create a new OneNote page located in the Unfiled Notes section of your OneNote 2007. Any application that can output to a printer can "Send to OneNote".

Armed with this we can now send the output of our Get-Process example to OneNote 2007 with no custom coding. To do this simply pipe the Get-Process output to the Out-Printer cmdlet with the -name argument of "Send To OneNote 2007" as shown below.

..."

Nice! So simple, yet so cool...

(via OneNote Extensibility & More.. - OneNote and PowerShell)

No comments: