Geeks With Blogs



Lance Robinson

Create Your Badge

Lance Robinson is a software engineer in Durham, Chapel Hill, Raleigh, and surrounding areas. More about Lance.


Lance's TextBox » About Me » My Resume »Twitter May 2009 Entries
Troubleshooting FTP connections with PowerShell
I find that helping people troubleshoot FTP connectivity issues is much easier if they have PowerShell installed. I can just have them run the NetCmdlets ftp cmdlets with the –debug switch, which displays a trail of information about the communication over the wire. In this way you can see every command send to the server and every response coming back from the server, including what ports a server is attempting to use for ftp data connections. Very often ftp transfer connectivity errors are the ......

Posted On Thursday, May 21, 2009 1:22 PM

Customize SharePoint RSS Feeds
The default RSS feeds in SharePoint are very basic and I want them to contain more information. I managed this by generating my own RSS feeds. Here is how I did it: First, install the RSSBus SharePoint WebPart. After running the setup, go to the Site Collection Features page to activate the Web Part. In order to create custom RSS feeds, you’ll also need to activate the “RSSBus Service Handler” feature. I created a special document library for my feeds, I called it “Really Simple Services”, since ......

Posted On Tuesday, May 19, 2009 2:25 PM

Usenet Newsgroup Browser in SharePoint
I added a little newsgroup browser to my SharePoint site with about a one page RSSBus SharePoint WebPart template. It works by importing the RSSBus NntpOps Connector. It calls its nntpListArticles operation to list the articles of a particular newsgroup and displays them in a table. Then when an article is clicked on, it calls the nntpGetArticle operation to retrieve the actual article – don’t worry – it will only retrieve the first 1000 lines of the article – if the thread is larger than that it ......

Posted On Tuesday, May 19, 2009 1:12 PM

Multi-Source Search in SharePoint
I used the RSSBus WebPart to create a multi-source search in SharePoint – this will let me enter one search term, and see results from a variety of different search services at the same time. The RSSBus WebPart template turned out to be extremely simple, thanks to its built-in feed manipulation capabilities. <div id="search"> <label for="search"><b>Se... <input id="search" type="text" name="search" size="25" value="[[_request.form:search| def('')]]" ......

Posted On Monday, May 18, 2009 2:12 PM

Map a local drive to a SharePoint Library
On Vista: Right click on “My Computer”, choose “Map Network Drive…” Choose a drive letter, and click “Connect to a Web site that you can use to store your documents and pictures.” Click on “Choose a custom network location”, type in the address for the network location. For Shared Documents Library, this will be something like: "http://yourserver/yoursite... Documents". a name for the network location, and click next. Voila. Technorati Tags: SharePoint ......

Posted On Friday, May 8, 2009 9:22 AM

Managing MS Exchange Remotely From Unix, Phone, Windows, etc.
Recently I saw a question come to my friend Spencer here at /n software about whether or not it was possible to use the Microsoft Exchange 2007 SP1 PowerShell cmdlets through the /n software PowerShell Server. The person wanted to be able to manage Exchange from a remote Unix machine. Of course, as I’ve mentioned before, it could be done from anywhere that supports SSH – like an Apple iPhone or a Blackberry. The PowerShell server uses impersonation - it impersonates the user that the SSH client authenticated ......

Posted On Wednesday, May 6, 2009 12:55 PM

PowerShellRSS Automatically Converts PSObjects to RSS Items
In a previous post, I talked about how PowerShellASP can be used to generate an RSS feed with PowerShell. Now I’ll show how the same feed can be generated more easily with PowerShellRSS. Again, the dir command in PowerShell (get-childitem) is used to get a listing of files to use as enclosures in the feed. # This example demonstrates how to generate an RSS feed from a call to the Get-ChildItem cmdlet (dir). # To tailor to your specific needs, set the following values: $mediadir = 'C:\Testing\media';$virtual... ......

Posted On Tuesday, May 5, 2009 5:42 PM

PowerShell Prompt inside SharePoint
Using the PowerShellToys PowerShellWebPart, I was able to insert a PowerShell command prompt inside my SharePoint page with only a few lines of code and some html. Here is the PowerShellWebPart template that I used: <div style="background-color:Dar... color:white; height:400px; width:650px"> <form method="GET" action="" enctype="multipart/form-dat... PS> <input type=text name="query" size="40" value="<%=$request['quer... /> <input type=submit value="Execute" /> ......

Posted On Tuesday, May 5, 2009 3:47 PM

New Toys for PowerShell!
At, you’ll find a bunch of new toys for PowerShell, including the first full release of PowerShellASP + free community license. The new toys? PowerShellADO, PowerShellPanel, PowerShellWebPart, and PowerShellRSS. Here’s a brief description of each, in my own words. For the official description and examples, check out PowerShellASP – write ASP pages with PowerShell scripting instead of vbscript. PowerShellADO – execute PowerShell cmdlets and return the results ......

Posted On Monday, May 4, 2009 5:00 PM

Copyright © Lance Robinson | Powered by: | Join free