Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Select-Object   (RSS)

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.

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

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

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

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
 
Page view tracker