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

Scripting

Scripts I’ve written or customized. Mostly Windows scripts, but all sort of automation tools pop up here.

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

Logging Robocopy errors to the Event Log using PowerShell

By Joel 'Jaykul' Bennett on 04-Apr-2010

Someone came into IRC last week asking for help converting a rather large vbscript into PowerShell, and got me interested in turning Robocopy logs into Windows Events… The original VBScript is about 68 lines of code, and writes one event per log file. We duplicated it’s functionality with the following 11 lines of code: Param($LogPath, [...]

Posted in Huddled | Tagged EventLog, Logging, Module, PowerShell, RoboCopy, Scripting | 2 Responses

A DSL for XML in PowerShell: New-XDocument

By Joel 'Jaykul' Bennett on 04-Mar-2010

In July of last year I wrote a PowerShell script with the goal of allowing me to generate XML from PowerShell with a simple markup that would look a little like the resulting XML ... this week I was using that script again, and had a couple of issues that made me go back and [...]

Posted in Huddled | Tagged Atom, DSL, Generator, PowerShell, Scripting, Xml | 7 Responses

Are you interested in a virtual PowerShell brown-bag event?

By Joel 'Jaykul' Bennett on 24-Feb-2010

I just put up a poll on the PowerShell Virtual Group to see if people are interested in a low-planning brown-bag event. The initial question is: would you attend a weekly (or monthly) virtual brown-bag lunch if I put one together. The idea is that we would start each session with a short collection of [...]

Posted in Huddled | Tagged Brown Bag, Poll, PowerShell, Scripting, User Group, Virtual Group | 2 Responses

Fun with PInvoke and Aero Peek

By Joel 'Jaykul' Bennett on 23-Aug-2009

There are so many fun things you can do in Windows when your scripting language allows you to make PInvoke calls to Win32 APIs … but I have to say it’s amazing how many things have been added to Windows recently and still left out of the .Net framework … Anyway, on to the Aero [...]

Posted in Huddled | Tagged Aero Peek, API, DwmSetWindowAttribute, DWMWA_EXCLUDED_FROM_PEEK, PInvoke, PowerShell, Scripting, Win32, Windows 7 | 5 Responses

More Growl for Windows from PowerShell

By Joel 'Jaykul' Bennett on 17-Aug-2009

Well, I’m back already with an update for the Growl module I posted yesterday … This new version is a true PowerShell 2.0 only module, because I found that the Growl callbacks can only be handled in PowerShell 2.0 anyway, so in order to add support for that, I went ahead and upgraded the rest. [...]

Posted in Huddled | Tagged Growl, Growl for Windows, Notifications, Popup, PowerShell, Scripting

Growl for Windows – From PowerShell

By Joel 'Jaykul' Bennett on 14-Aug-2009

This is just a quick post (as I promised, recently) to let you all know that I’ve published the first release of my Growl for Windows module for PowerShell over on PoshCode. I haven’t been able to get callbacks to work, and I spent way too much time playing with them instead of publishing this, [...]

Posted in Huddled | Tagged Growl, Growl for Windows, Notifications, Popup, PowerShell, Scripting

Control your PC with your voice … and PowerShell

By Joel 'Jaykul' Bennett on 25-Jun-2009

Have you ever wanted to be able to ask your computer questions and have it answer you out loud? Have you ever wondered if your computer could be more like the ones running the Star Trek Enterprise, responding to voice queries and commands? Have you played with ZWave or X10 home automation and thought that [...]

Posted in Huddled | Tagged Home automation, PowerShell, Remote Control, Scripting, Speech recognition | 5 Responses

Convert Twitter users into FriendFeed Imaginary Friends!

By Joel 'Jaykul' Bennett on 16-May-2009

So a lot of people seem to be taking the latest missteps by Twitter’s management (and the accompanying admission of bad design) as an opportunity to try out some alternatives. Many of them seem to be coming over to FriendFeed (which has been better than Twitter for a long time, but nevermind that) ... so [...]

Posted in Huddled | Tagged Application programming interface, Automation, FriendFeed, Scripting, Twitter, WatiN, Web | 2 Responses

Using PowerShell and WatiN (PowerWatin?)

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

This is an update to a previous article. Someone asked (on Twitter) about using WatiN from PowerShell, and pointed to this old post by Scott Hanselman saying he was having the same problems … so I wrote this to help them out: WatiN requires -STA mode Note: WatiN requires Single Threaded Apartment mode, so you [...]

Posted in Huddled | Tagged Automation, PowerShell, Scripting, Testing, WatiN, WebDesign, WebDevelopment | 8 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.