Welcome to MSDN Blogs Sign in | Join | Help

July 2008 - Posts

Microcode: Debugging Cmdlets and Providers with Visual Studio and CTP2

In PowerShell CTP2, you have a nice cmdlet, Add-Module, that frees you from the constraints of having to declare a snapin.  By using Add-Module, you can take any old library of code and load it to find cmdlets or providers.  This means that

Microcode: PowerShell Scripting Trick - Writing functions that use the pipeline or take arguments

I was cleaning up some scripts for posting when I happened upon this minor trick. I had a function that was using $input, a PowerShell v1 feature that allows you to use pipelined values within a function.  This enables you to do basic pipelining

Microcode: Cleaning up DVR with Get-RecordedTV

The first simple way we can approach cleaning up DVR is by making the assertion that shows you don't want as much you won't record as often.  Suppose you record a movie once, or a game, or the pilot of a really bad TV show.   After a month

Microcode: Cleaning up Get-RecordedTV with Select-Object

In a previous post, I introduced Get-RecordedTV , which was built upon another function, Search-WindowsDesktop . The old version of Get-RecordedTV directly returned the properties related to DVR from Windows Desktop Search, with incredibly long names

Music: Welcome to the Social (Zune)

One of the more interesting things about the Zune is the online social network.  If you choose to, you can display your plays for all the world to see (and potentially mock or laud for music snobbery).  You can also have the device plays sent
Posted by JamesBrundage | 0 Comments
Filed under: ,

Microcode: Getting DVR MetaData with Search-WindowsDesktop

In the previous post , i explained that I was trying to find a way to get at the information about my TV shows, and introduced you to some of the thought process that went into finding out information about my DVR. I then solved the most important portion

Microcode: Windows PowerShell, Windows Desktop Search & Problem Solving

In the pursuit of my passion of media (specifically, trying to prune my DVR collection in a more flexible way than Windows Media Center), I started getting curious about how I could get the same kind of data that Windows Explorer has about some RecordedTV.
 
Page view tracker