Geeks With Blogs

Lance's TextBox February 2007 Entries
NetCmdlets Command Line Emailer saves ME time
Scott Hanselman has a little TODO batch file that he uses to quickly email himself notes from the command line. I have something similar, but mine is a PowerShell script that uses NetCmdlets. The cool thing about the send-email cmdlet in NetCmdlets is that it supports SSL as well as other email features like html mail and attachments. There are separate cmdlets for sending other types of messages like Usenet newsgroup articles, Jabber IMs (ie, Google Talk), SMS messages, SNMP traps, etc. Here is ......

Posted On Wednesday, February 28, 2007 9:04 AM

PowerShell cmdlet for SNMP (part 2: sysUpTime)
Brandon updated his get-uptime script to output a custom object. Brandon's script works with the LastBootUpTime property returned from WMI Win32_OperatingSytem. I already talked briefly about the get-snmp, set-snmp, get-trap, and send-trap cmdlets that are included in NetCmdlets. Here's how you can use get-snmp to get the sysUpTime from any SNMP-enabled device. Note: sysUpTime is defined as the time since the last re-initialization (ie, boot) of the device, in 100ths of a second. get-snmp -agent ......

Posted On Tuesday, February 27, 2007 3:26 PM

PowerShell book
Bruce Payette's Windows Powershell in Action is now available on Amazon ......

Posted On Tuesday, February 27, 2007 11:46 AM

Combine multiple feeds with RSSBus
Here's an RSSBus script that will create an RSS feed that is a combination of two feeds: <rsb:call op=" <rsb:push title="Flickr Gnarley Trees: [title]" /></rsb:call> <rsb:call op=" <rsb:push title="Flickr Flowers: [title]" /></rsb:call> In this example I don't just combine the feeds, but ......

Posted On Wednesday, February 21, 2007 1:28 PM

How to prevent Outlook 2007 from blocking unsafe attachments
A lot of times I need to be able to look at .reg, .vbs, .vb, etc - attachments that people send me via email. I don't go haphazardly running them, but I need to at least be able to save them to disk and drag them into my text editor. Here's how to make the changes in Vista to prevent Outlook 2007 from blocking these files. Note that with these changes, you still won't be able to just double-click on the attachment and run it (this is good), you'll have to save it to disk first. Make sure you really ......

Posted On Wednesday, February 21, 2007 1:28 PM

Using PSCredentials without a prompt
You cannot use get-credential without some type of prompt (although you can do it without the pop-up dialog), however you can save your securestring password to a file, reload it for later, and manually create a credential without a prompt. Of course the problem with this is that your password will be exposed to anyone with access to the file, so do this at your own risk. First, choose your password and write it to a file: PS C:\> read-host -assecurestring | convertfrom-securestring | out-file ......

Posted On Friday, February 16, 2007 1:21 PM

Debugging classic ASP on IIS7

The first time you go debugging classic ASP scripts on IIS7 you'll just get errors that say "An error occurred on the server when processing the URL. Please contact the system administrator".

To see the real error, go to MMC and load the IIS Manager snap-in and go to your website. Double click on "ASP" in the Features View tab, drill down into Debugging Properties and change "Send Errors To Browser" to true.

Posted On Wednesday, February 14, 2007 2:49 PM

Feeds with parameters and metadata
Dave Winer echoes my complaint about Yahoo Pipes: in Pipes, there's no way to tell if items in two feeds are talking about the same thing. The best you can hope for is keyword serendipity, which all the demos so far do, and those make for unsatisfying demos, because you know you couldn't deploy a useful app out of the concepts they illustrate. Then he goes on to unknowingly describe RSSBus: Now it's possible that a company like Yahoo, with its diverse flows of information, and nearly universal support ......

Posted On Wednesday, February 14, 2007 2:27 PM

RSS emitting API
Jeremy Zawodny wants to see RSS-emitting APIs for every widget out there. Ding! That's how my AmzWish widget (you can see an example on my blog or on the AmzWish generator page) was created: simply making calls to AmazonOps exposed by RSSBus (which outputs RSS feeds). Basically AmzWish is just some html mixed in with an RSS feed. You can make your own or view the source here. The same thing could easily be done for Yahoo! Shopping - maybe I should put together some operations for the RSSBus yahooOps ......

Posted On Tuesday, February 13, 2007 2:02 PM

Slicing and Dicing web data
Yesterday Jon Udell wrote about slicing and dicing, and then rewiring the web. Reusing websites as data sources is great - and Yahoo Pipes provides several such "sources" in Yahoo Search, Yahoo Local, Flickr, Google Base, and the basic URL Fetch. All these are great and provide interconnectivity and the ability to slice and dice certain parts of the web. But why stop there? The beauty of this annotating, slicing, and dicing, is in the reusability of this data - not just for reading blogs - but for ......

Posted On Tuesday, February 13, 2007 11:55 AM

Connecting sources of data, online or off
This post by Jeff Barr gives some interesting examples of things people might want to do with their data, and more specifically connecting their data to and from multiple sources. The kind of things Jeff mentions can be attained using RSSBus. It all boils down to flexibility, and how someday we should be able to take such flexibility for granted. One of the examples Jeff gives is locating the Amazon wishlist of his top email correspondents, which is actually quite easily done with RSSBus. RSSBus ......

Posted On Thursday, February 8, 2007 10:43 AM

Copyright © Lance Robinson | Powered by: