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

PowerShell

Get-Command in PowerShell 3 (NOTE: CTP2 Bug causes module loading)

By Joel 'Jaykul' Bennett on 16-Feb-2012

I don’t normally blog about the bugs I find in beta software, but I posted this bug to PowerShell’s Connect and I feel like it got ignored and not voted, so I’m going to try to explain myself better here … The bug is on Connect, but let me talk to you first about how [...]

Posted in Huddled | Tagged Bugs, Get-Command, Import-Module, Modules, PowerShell

Rich formatting for PowerShell help

Rich formatting for PowerShell help

By Joel 'Jaykul' Bennett on 27-Jan-2012

[updated] Ok, I just updated this with a new post on PoshCode. I posted the HtmlHelp module to PoshCode for generating HTML web pages based on the help for functions or cmdlets. It basically has one command: Get-HtmlHelp, which takes a couple of parameters now. The only mandatory parameter is the name of the command [...]

Posted in Huddled | Tagged Help, Html, PowerShell, ShowUI | 4 Responses

"Enable Protected Mode" exists separately for each zone in your Security settings

Did you know PowerShell can use Selenium?

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

This is sort-of a place-holder for a full-length post that I really ought to write about driving web testing from PowerShell using Selenium. I actually have a little module around for doing that with WaTiN, but honestly the Selenium project seems to be a lot more active, and has quite a bit of muscle behind [...]

Posted in Huddled | Tagged Automation, Browser, GUI, PowerShell, Selenium, Testing, WatiN | 6 Responses

PowerShell 3 – Finally on the DLR!

PowerShell 3 – Finally on the DLR!

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

For those of you living in a cave: PowerShell 3 will be released in Windows 8, and we got a CTP at roughly the same time as the Windows 8 Developer Preview was released (at Microsoft’s new //Build/ conference in September 2011). A second CTP was released just in time for Christmas. I’ve been playing [...]

Posted in Huddled | Tagged CTP, DLR, PowerShell, PS3, Windows 8 | 15 Responses

Arrange – Act – Assert: Intuitive Testing

By Joel 'Jaykul' Bennett on 04-Oct-2011

Today I have a new module to introduce you to. It’s a relatively simple module for testing, and you can pick it up in short order and start testing your scripts, modules, and even compiled .Net code. If you put it together with WASP you can pretty much test anything The basis for the module [...]

Posted in Huddled | Tagged 3As, PowerShell, Scripting, Testing | 1 Response

Working with multiple versions of PowerShell Modules

By Joel 'Jaykul' Bennett on 30-Aug-2011

What follows is a brief explanation of modules, followed by an explanation of how I handle multiple versions of a module. My way isn’t the only way — and I’m rather annoyed that I have to do it — but it works, and might help someone, so here it is. Some back-story During development of [...]

Posted in Huddled | Tagged Modules, PowerShell, Versioning | 1 Response

Disabling Events in ShowUI

By Joel 'Jaykul' Bennett on 27-Jun-2011

Because some things just work better in WPF. Let’s say you had a form that collected a bunch of user input, and then had a button that would fire off some work. We’ll assume that you wanted to prevent people from firing off the work again before they know the results of the first time, [...]

Posted in Huddled | Tagged HowTo, PowerBoots, PowerShell, ShowUI, UserInterface, WinForms | 7 Responses

ShowUI: Handling Events and Producing Output

By Joel 'Jaykul' Bennett on 20-Jun-2011

Once you get past the basics of WPF and ShowUI, learning to use nested panels or grids to achieve the layouts you want, and start getting a grip on what controls are available by default, the next step to building useful user interfaces is going to be handling user interactions. In programming, we call those [...]

Posted in Huddled | Tagged HowTo, PowerBoots, PowerShell, ShowUI, UserInterface, WinForms | 2 Responses

ShowUI: the tutorial walkthrough

By Joel 'Jaykul' Bennett on 14-Jun-2011

Ok, let’s be clear: you’ve seen this before, and this isn’t going to be the last you’ll see of it, because we’ve got much more in store in ShowUI, but for the first release of ShowUI, it’s obviously time to update this simple walkthrough of building simple user interfaces in PowerShell! An introduction to ShowUI [...]

Posted in Huddled | Tagged PowerBoots, PowerShell, ShowUI, Tutorial, UserInterface, WalkThrough | 4 Responses

The problem with calling legacy/native apps from PowerShell

By Joel 'Jaykul' Bennett on 10-Mar-2011

This post is an explanation of the major problems with invoking native apps from PowerShell 2.0, and the simple work-around. There is going to be a little bit of code and then quite a bit of sample output (along with some pointers so you don’t have to play spot the differences). In order to avoid [...]

Posted in Huddled | Tagged Interoperability, PowerShell, Shell, Windows | 3 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

  • April 2012
  • February 2012
  • January 2012
  • October 2011
  • August 2011
  • July 2011
  • June 2011
  • March 2011
  • February 2011
  • January 2011

Copyright © 2012 Joel Bennett.

Powered by WordPress and Hybrid.