Microcode: PowerShell Scripting Tricks: Scripting The Web (Part 1) (Get-Web)

Several of the last posts have tackled how to take the wild world of data and start to turn it into PowerShell objects, so that it’s easier to make heads or tails out of it.  Once all of that data is in a form that PowerShell can use more effectively in the object pipeline, you…

6

Microcode: PowerShell Scripting Tricks: More Joy of Hashtables (with Get-HashtableAsObject)

I recently did two different "in depth" posts.  One on The Joy Of Hashtables and another on Select-Object versus Add-Member.  At the end of Select-Object vs Add-Member, I hinted at more convenient ways to write objects that used Script Properties.  Script Properties are particularly useful because, unlike Note Properties, they are evaluated when they are…

2

Microcode: PowerShell Scripting Tricks: The Joy of using Hashtables with Windows PowerShell

PowerShell is full of nice little touches.  While some of these touches are easy to run across, like Get-Command and Get-Help, there are also a lot of little ones that are very small changes that make working with some parts of PowerShell (and .NET) a whole lot easier.  One area that’s got a lot of…

5

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, this one…

3

Microcode: Exploring More of .NET with Get-Assembly

In a previous post, I introduced a function called Get-Type, which allows you to see all of the types currently loaded by .NET.  What it doesn’t do is help you find assemblies, the DLL files containing new types.  So while there might be 19000-odd types loaded when I launch the Windows PowerShell Integrated Script Editor…

3