Last week I posted a PowerShell function library for Microsoft’s newly
introduced search engine at Bing.com. The function library was
appropriately named PoshBing. There was a log of interest in the script so I
quickly moved it off my blog and onto a CodePlex project under PoshBing.
Working on the command line is fun and all, but since I spend a good portion
of my time accessing my twitter account, I figured it would be a bit of fun
to integrate it with my previously released PoshTweet PowerShell twitter
library.
So, after an hour or so of coding it up and creating the @askbing twitter
account, I’ve got it up and running.
Using it is as simple as posting a message mentioning the @askbing account.
The Usage is as follows:
@askbing [sourcetype [options]] question_or_search_terms
If you omit the sourcetype it will default to “web”. The following
sourcetypes and opt... (more)
PowerShell is definitely gaining momentum in the windows scripting world but
I still hear folks wanting to rely on Unix based tools to get their job
done. In this series of posts I’m going to look at converting some of the
more popular Unix based tools to PowerShell.
find
The Unix “find” command searches through one or more directory trees of a
file system, locating files based on some user specific criteria. By
default, find returns all files below the current working directory. It
also allows you to perform an action to be taken on each matched file.
In my PowerShell script ... (more)
Those who know me, can attest that I'm a early adopter when it comes to
social networking systems. The latest one I've been getting into lately is
FourSquare.com.
FourSquare.com describes itself as 50% friend finder, 30% social city guide,
and 20% nightlife game. They include ways to keep up with what your friends
are doing as well as offering up some fun challenges to have you explore
cities in different ways.
Once I've played around with a social networking site for a bit, my next step
is to see what kind of API's they have exposed and see if I can build my own
app to integ... (more)
PowerShell is definitely gaining momentum in the windows scripting world but
I still hear folks wanting to rely on Unix based tools to get their job
done. In this series of posts I’m going to look at converting some of the
more popular Unix based tools to PowerShell.
factor
The Unix “factor” command will print out the Prime Factors of each
number. Factors are numbers, when multiplied together, give the original
number. Prime Factors are factors that are Prime Numbers (numbers that can
be divided evenly only by one and itself).
The algorithm the Unix command is not very sophist... (more)
Shrinking your Url’s is all the rage nowadays. If you are on Twitter,
then odds are you have used one. Despite CodingHorror’s distaste for them
in his recent blog post on Url Shorteners: Destroying the Web since 2002,
they are a fact of life when we live in a world of 140 character status
updates.
So what’s a URL shrinking service anyway? Well, to put it simply, you
supply them with a URL, they then supply you with a shorter URL containing a
lookup “key”. When future requests are made to this shorter URL,
connections are routed to that services website where they convert the... (more)