Huddled Masses
You can do more than breathe for free...
Browse: Home / Development

Development

Tools, tips and tricks, and my own software development.

A guide to PowerShell’s Advanced Functions

By Joel 'Jaykul' Bennett on 02-Mar-2009

Someone asked on the PowerShell Newsgroup about writing Advanced Functions, and specifically: looking for a … guide to putting together an advanced function that is visible and usable every time I start Powershell. By visible I mean that when I do a ‘get-command’ I want my [advanced function]s to be listed alongside all the regular [...]

Posted in Huddled | Tagged Advanced Functions, CTP3, Development, PowerShell, PowerShell 2, PowerShell Functions, Scripting, Tutorial, WalkThrough | 10 Responses

PowerBoots: Loading XAML Windows in PowerShell 1.0 or 2.0

PowerBoots: Loading XAML Windows in PowerShell 1.0 or 2.0

By Joel 'Jaykul' Bennett on 13-Feb-2009

Awhile back I wrote a series of posts about WPF From PowerShell From PowerShell” which were about how you could load XAML in previous PowerShell 2 CTPs to create WPF user interfaces … a few people have mentioned loading XAML in PowerBoots, and a couple of people have posted other samples showing XAML even since [...]

Posted in Huddled | Tagged Design, Development, PowerBoots, PowerShell, Scripting, UserInterface, WPF, XAML | 2 Responses

PowerBoots and Attached Properties

By Joel 'Jaykul' Bennett on 08-Feb-2009

WPF uses a concept called “Attached Properties” to handle certain things, like when you put controls into a DockPanel. Basically, anything you put inside a DockPanel has a property “Dock” which you can set … but because the property is actually defined by the DockPanel, it doesn’t show up in PowerBoots, so you can’t just [...]

Posted in Huddled | Tagged Attached Properties, Development, PowerBoots, PowerShell, Scripting, Syntax, WPF

PowerBoots: PowerShell GUIs are now multi-threading

By Joel 'Jaykul' Bennett on 07-Feb-2009

Announcing the release of PowerBoots 0.1 This release of PowerBoots is the most exciting release software I’ve cranked out in awhile. It finally has almost all of the features that I have thought of so far (we’re still missing proper support for attached properties). You can create pretty much any WPF element, including ones I [...]

Posted in Huddled | Tagged Development, DSL, GUIs, PowerBoots, PowerShell, Scripting, User Interface, Visifire, WPF | 1 Response

PowerBoots 0.0.1 – A beginning (CTP3 only)

PowerBoots 0.0.1 – A beginning (CTP3 only)

By Joel 'Jaykul' Bennett on 05-Jan-2009

You should check out the new release of PowerBoots, and the walkthrough PowerBoots Tutorial that I wrote up … this post is getting out of date. If you haven’t seen the Ruby Shoes graphical framework, you should check it out. In fact, go read the tutorial and come back, because the rest of this will [...]

Posted in Huddled | Tagged Development, PowerBoots, PowerShell, Scripting

Using REST API’s from PowerShell with the Dream SDK

By Joel 'Jaykul' Bennett on 30-Nov-2008

Awhile back I wrote a Get-Web script, which I later converted to a compiled Get-Web cmdlet and module (pssnapin) ... adding support for POST forms. At the time, it seemed like GET and POST with some string variables pretty much covered what I’d ever want to do with web pages, however I found a few [...]

Posted in Huddled | Tagged APIs, Development, Get-Web, Http, HttpRest, HttpWebRequest, PowerShell, REST, Scripting, wGet | 3 Responses

PowerShell and Hashtable oddities

By Joel 'Jaykul' Bennett on 19-Nov-2008

Hashtables are IEnumerable, but they don’t behave that way in PowerShell … this seems to cause all sorts of odd behavior …

Posted in Huddled | Tagged Arrays, Bugs, Development, Hashtable, PowerShell, Scripting, Splatting | 1 Response

Converting HTML to XML in PowerShell

By Joel 'Jaykul' Bennett on 16-Nov-2007

I’ll write up more information later, but a couple people have asked for this in #PowerShell on irc.freenode.net, and I had it already written, so here you go … my ConvertFrom-Html cmdlet (in a Huddled.HtmlSnapin). It converts HTML to valid xml using the SGML Parser which was available on GotDotNet years ago. It only works [...]

Posted in Huddled | Tagged Cmdlet, Converting, Development, Html, Parsing, PowerShell, Scripting, Xml | 1 Response

PowerShell 2.0 CTP – Script Cmdlets

By Joel 'Jaykul' Bennett on 06-Nov-2007

Well, the first alpha CTP release of PowerShell 2.0 is out, and there’s a lot of new stuff in it … but I won’t repeat the list from the PowerShell blog, because I’m sure you’ve seen it five or six times already. Instead, lets just skip straight to talking about one of the features we’ve [...]

Posted in Huddled | Tagged Alpha, Beta, Cmdlet, CTP, Development, Pipeline, PowerShell, Scripting | 2 Responses

Writing Cmdlets for the PowerShell Pipeline

By Joel 'Jaykul' Bennett on 06-Nov-2007

In a continuation of what is, sadly, becoming a series on how the PowerShell Pipeline works … Karl Prosser brought to my attention that certain powershell commands which have an -InputObject parameter don’t actually work when you pass something into it … so I thought I should create a cmdlet to show you how to [...]

Posted in Huddled | Tagged Cmdlet, Development, My Software, Pipeline, PowerShell, Programming, Scripting, SourceCode | 4 Responses

Next »

Lijit Search

Tags

.Net .Net 2008 Scripting Games Automation Bugs Design Development Funny Gadgets GeoShell GUI Huddled Masses Internet licensing Microsoft Modules My Software News Personal PInvoke Pipeline Politics PoshCode PoshConsole PowerBoots PowerShell PowerShell Functions PowerTips Rants Recommender Repository Scripting ShowUI Software Solutions Textile Tips User Group UserInterface WalkThrough WebHosting Windows 7 WordPress WPF Xml

About Huddled Masses

This is web site is dedicated to the musings of Joel Bennett (aka Jaykul) about technology, software, software development, the web, and the world.

Any resemblance of the views expressed and the views of my employer, my terminal, or the view out my window are purely coincidental. The resemblance between them and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader.

P.S.: I occasionally link to things I think are great. When I do, I occasionally find a "referral code" so I can make a little cash. I promise that I don't link to anything just because of that cash (I wouldn't cross the street for the amount of cash those links bring in, never mind write a whole blog post) ... but I do not promise that things I link to will stay great as time passes, nor that you will agree with me about their greatness!

Archives

  • January 2012
  • October 2011
  • August 2011
  • July 2011
  • June 2011
  • March 2011
  • February 2011
  • January 2011
  • November 2010
  • August 2010

Copyright © 2012 Joel Bennett.

Powered by WordPress and Hybrid.