msgbartop
Everybody get your shell on!
msgbarbottom

Oct 16, 2009 9:09 am 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.

Read the rest... »

Tags:

Oct 09, 2009 12:40 pm 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.

Read the rest... »

Tags:

Sep 29, 2009 7:37 am Configuring Hosted Exchange 2007 using Powershell – Part 2

This is part deus of the “Configuring Hosted Exchange 2007 using Powershell” series. Part 1, which you can find here, covered deploying a new hosted domain. This new domain is fully segregated on the exchange server with its own Address Lists, and login using AD accounts with their own UPN. Part 2 will cover creating a new mailbox after the hosted domain infrastructure has been created.

Read the rest... »

Tags: , ,

Jul 15, 2009 2:59 pm Configuring Hosted Exchange 2007 using Powershell – Part 1

Hosting Exchange 2007 is a difficult, tedious, and expensive venture to be certain. Taking into consideration the extensive hardware investments required, the development required to create an automated process to deploy new domains, create new mailboxes, set size and feature limitations on those mailboxes (or purchasing support for Microsoft’s HCM solution which uses the outdated [...]

Read the rest... »

Tags: , ,

Jul 08, 2009 12:07 pm Lookup reverse records of multiple IPs with Powershell

Here is a handy chunk of powershell code that uses the native windows command Nslookup to parse a list of IPs and output the IP and the reverse lookup value to a text file. This is especially usefull when you have a large number of IPs to check. 1 2 3 4 5 6 7 [...]

Read the rest... »

Tags: