Random header image... Refresh for more!

Archive for the ‘COM Object’ Category

Write-StickyNote

Icon Written by Niklas Goude on June 5, 2009 – 5:30 pm

Here’s a fun script that uses the new “Sticky Notes” in WIndows 7.

The script is based on a simple function that uses the SendKeys() method through the Wscript.Shell COM object. This is a nice example on how you can handle COM objects through PowerShell.

I’ve also included an if statement that checks if StickyNotes is active. [...]

Tags:

RSS, Speech and PowerShell

Icon Written by Niklas Goude on March 22, 2009 – 10:55 pm

Rss Feeds are great ways of keeping track of updates and news on pages that you frequently visit. In this post we are going to look at an alternative way of examining Rss Feeds. We will use Net.WebClient .Net Class to access the Feed through PowerShell and store the information in a PsCustomObject. Finally we [...]

Tags: