Sign in
Media And Microcode
Microcode. Movies. Music. Games. Personal Musings. - James Brundage's Personal Blog
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Tags
.NET
Add-Member
Cmdlet
Cool Posts
DataBinding
Debugging
DVR
Fun With Parameter Binding
Get-Assembly
Get-Feed
Get-Font
Get-HashtableAsObject
Get-MarkupTag
Get-Member
Get-RecordedTV
Get-Type
Get-Web
Get-WebPageLink
Group-Object
IsePack
Measure-Command
Media
MetaData
Microcode
Microsoft.FeedsManager
Module
MultiTouch
Music
New-Object
News
New-SpriteFont
Photosynth
PowerShell
PowerShellPack
Provider
Reflection
Remove-DVRBySeries
Resolve-Link
Scripting The Web
Scripting Tricks
Search
Search-WindowsDesktop
Select-Object
Select-Xml
Sort-Object
System.Collections.Hashtable
System.Net.Webclient
TechNet
Visual Studio
Where-Object
Windows Desktop Search
Windows Media Center
WPF
WPK
Write-Error
Write-Progress
Xbox 360
XNA
Zune
Browse by Tags
MSDN Blogs
>
Media And Microcode
>
All Tags
>
scripting tricks
Tagged Content List
Blog Post:
Microcode: PowerShell Scripting Trick: Fun With Parameter Binding: The Fake Parameter Set Trick
JamesBrundage
I’ve been hearing a lot of questions recently about what things you can do with advanced functions. People seem to be aching for good examples of using PowerShell V2 functions, and, since I’ve discovered a few handy tricks for advanced functions, I thought I’d start to share them there in a series...
on
10 Apr 2009
Blog Post:
Microcode: PowerShell Scripting Tricks: Scripting the Web (Part 3) (Resolve-Link, Get-WebPageLink)
JamesBrundage
The first post in this series was learning to crawl. I introduced Get-Web , which allows you to use System.Net.Webclient to download web sites in a variety of ways. The next post was learning to walk. I showed us Get-MarkupTag , which helps coerce parts of the web into XML. Now we can start to really...
on
12 Dec 2008
Blog Post:
Microcode: PowerShell Scripting Tricks: Select-Object (Note Properties) vs Add-Member (Script Properties)
JamesBrundage
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...
on
25 Nov 2008
Blog Post:
Microcode: PowerShell Scripting Tricks - Exploring .NET Types with a Get-Type function and Reflection
JamesBrundage
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...
on
23 Oct 2008
Blog Post:
Microcode: Scripting Tricks : Exploring WPF Routed Events with PowerShell
JamesBrundage
Both WPF and PowerShell are both full of great little touches. One of WPF's nice touches is Routed Events . Routed Events allow you to capture events raised by child controls or parent controls. This can be incredibly useful, because it allows you write less code (which I believe is generally good) by...
on
19 Oct 2008
Blog Post:
Microcode: All About Modules (Windows PowerShell CTP2)
JamesBrundage
In a previous post , I showed you how you can debug Windows PowerShell cmdlets and providers in Visual Studio and load them up without using installutil.exe. This very briefly touched on using the command Add-Module, in this case, to load up an assembly containing cmdlets. This post explains how to...
on
9 Aug 2008
Blog Post:
Microcode: PowerShell Scripting Trick - Writing functions that use the pipeline or take arguments
JamesBrundage
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 with PowerShell v1, but it can make code more complex...
on
26 Jul 2008
Page 1 of 1 (7 items)