Group:  Other Microsoft Office Products ยป microsoft.public.onenote
Thread: need a psh cmdlet

Geek News

need a psh cmdlet
"William Stacey [C# MVP]" <william.stacey[ at ]gmail.com> 4/17/2007 5:55:13 PM
Would be coolness to have a powershell cmdlet go against the object model so
you get typed params etc. And input files of known types without need fro
some crazy xml input file (i.e. word docs, excel, pictures, etc)

PS c:\> Out-OneNote -file mypic.jpg -folder MyFolder
PS c:\> Out-OneNote -clipboard
PS c:\> dir *.doc | out-onenote
--
William Stacey [C# MVP]




Re: need a psh cmdlet
"Josh Einstein" <josh[ at ]einsteintech.net> 4/19/2007 10:32:21 PM
OneNote doesn't really have much of an object model. It's mostly XML schema
in which case it's pretty easy to leverage the existing .NET classes
XmlDocument, XmlNamespaceManager, etc.

How about you write a cmdlet? :)

I'd like to see one that merges two OneNote notebooks.

--
Josh Einstein (Tablet PC MVP)
Einstein Technologies
Tablet Enhancements for Outlook - Try it free: www.tabletoutlook.com


"William Stacey [C# MVP]" <william.stacey[ at ]gmail.com> wrote in message
news:%23aAhTmRgHHA.4416[ at ]TK2MSFTNGP03.phx.gbl...
[Quoted Text]
> Would be coolness to have a powershell cmdlet go against the object model
> so
> you get typed params etc. And input files of known types without need fro
> some crazy xml input file (i.e. word docs, excel, pictures, etc)
>
> PS c:\> Out-OneNote -file mypic.jpg -folder MyFolder
> PS c:\> Out-OneNote -clipboard
> PS c:\> dir *.doc | out-onenote
> --
> William Stacey [C# MVP]
>
>
>
>

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net