If you use Twitter and like to script, especially in PowerShell, then I think you’ll like this. A new site, TweeterTags.com has launched that allows you to tag your Twitter profile. The upshot is that this makes it easier to discover like-minded individuals. So let’s say I want to find all the PowerShell tagged users, here’s how I can do it directly from PowerShell with a simple script.
The script, Get-TweeterTag.ps1, is a wrapper for the Get-TweeterTag function. The function takes a parameter which is the tag you want to search for. It should be passed in lowercase, but the function will convert it to be sure. The default tag is PowerShell.
Then using the System.Net.Webclient object I download the xml file with all the tagged users from the site and save it as an xml document.
The function then writes each user node to the pipeline.
This allows me to use the function like this:
Get-TweeterTag | sort Name | select Name,Screen_Name,Description
Get-TweeterTag “VMWare” | sort Name | select Name,Screen_Name,Description
You could take this a step further, and I expect people will, to use add users you aren’t already following.
By the way, this was fun to develop and test in PrimalScript 2009. I could write a PowerShell expression in the editor, then drag and drop it into the integrated command window and have it execute.
Download this script as a text file here.