Media And Microcode
Microcode. Movies. Music. Games. Personal Musings. - James Brundage's Personal Blog
Translate This Page
Translate this page
Fun With Parameter Binding
Scripting The Web
Windows Desktop Search
Windows Media Center
Browse by Tags
Media And Microcode
Tagged Content List
Microcode: A Quick Trick to turn regular XML into Xaml
MSDN has tons of examples about XAML. Nearly everything in WPF has an example in XAML, but not all of these XAML examples actually reference the namespace that is required for this Xaml to be loadable by WPF. It's still valid XML, just not valid XAML. Here's a quick example of what I mean. I just copied...
22 Jan 2009
Microcode: PowerShell Scripting Tricks: Select-Object (Note Properties) vs Add-Member (Script Properties)
As I've said a number of times before, PowerShell's quantum leap forward is something called the Object Pipeline. It allows you to take the results of one command and easily use them with the next, which means that each command you create becomes a link in a chain rather than an isolated island...
25 Nov 2008
Microcode: Scripting RSS Feeds with PowerShell and Microsoft.FeedsManager
PowerShell's an amazing glue language. It can help you bring code from all corners of the earth into one environment, and then you can custom the code to be more to your liking. While the last several entries of my blog have spent time looking at what we can glue together with .NET...
10 Nov 2008
Microcode: PowerShell Scripting Tricks - Exploring .NET Types with a Get-Type function and Reflection
There's a simple yet powerful function that nearly everyone on the PowerShell team has written a version of. My version is called Get-Type. It's only a one-liner, but it's an amazing way to explore .NET and it's also an amazing example of some of the things you can do with the object pipeline...
23 Oct 2008
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 like 'System.RecordedTV.IsRepeatBroadcast'. ...
20 Jul 2008
Page 1 of 1 (5 items)
© 2014 Microsoft Corporation.
Privacy & Cookies