twitter

Posting tweet...

Reading an RSS feed with Powershell

This is a pretty cool (but mostly useless) PowerShell script that uses the System.Net.Webclient class and the DownloadString method. It pulls an RSS feed string from a URL into an XML formatted variable, and then pipes the Rss.Channel.Item property (which is where the meat of the RSS feed is held in the variable) into the format-table commandlet using the Title and Link properties of the feed to format the table. [...]

Sending an email with Powershell

This is a handy little function that sends an email using the System.Net.Mail namespace found in .NET 2.0. Can be used for pretty much anything; I use it primarily for error notification if one of my engineers runs a script that fails. It can also send an attachment so you can auto-spam your coworkers with pictures of midgets. [...]