Archive for May, 2009

Multiple PowerShell runspaces in PowerGUI Editor

By default, PowerGUI Script Editor is a single instance application – all scripts get opened as different tabs on the same window, and all the scripts and interactive commands in the same PowerShell session. They “see” the same variables and so on.

This however is very easy to change. Just go to Tools / Options and clear the Allow only one instance of the application to run – and you can have as many PowerGUI Script Editor windows as you like.

Each window will have its own PowerShell runspace – totally isolated from other windows (but still shared within the tabs of the same window).

Advertisements on Twitter

PowerGUI has long been a Twitter tool, but today we got to the next level – its community site has started tweeting.

Each time a new question gets posted to any of its major 4 discussion forums: Active Directory and PowerShell, Virtualization and PowerShell, Request a Script, or PowerGUI user discussions – there’s a tweet with a link posted by @PowerGUIorg.

Forums at are very active and there is a great community of enthusiasts there helping other every day. I hope that publishing new threads on Twitter will help people get answers even faster – which is what everyone really appreciates when he or she gets stuck with a script. 😉

Please follow @PowerGUIorg and spend a few minutes helping others each time you see a topic which you know well.

Kirk and Hal in Hanselminutes

Kirk “Poshoholic” Munro and Hal “TechProsaic” Rottenberg got guest-starred in Hanselminutes – one of the most influential technical podcasts out there:

Scott’s at TechEd and bumps into Hal Rottenberg and Kirk Munro. Hal’s a Powershell IT guy and Kirk’s a Powershell-focused Dev. What’s new in Powershell 2.0 and what’s in it for the .NET developer or Windows power user?

Check out the podcast here.

PowerShell training camp in Ohio

Jeffery Hicks is giving two great PowerShell trainings this July in Columbus, Ohio:

  • July 27-29, 2009 – comprehensive three day training from PowerShell basics to advanced real-life scripting.
  • July 30-31, 2009 – advanced PowerShell training including advanced work with registry, permissions, databases, and a full day of Active Directory management!

Jeffery is the author of the one and only AD PowerShell management book, and multiple other books and training courses on PowerShell, and a PowerShell MVP. So if you can make it to any (or both) of these trainings I would highly recommend that you do.

See more details as well as a sign-up link here.

Tags: , , , ,

Remote WMI defrag with PowerShell and PowerGUI

Jean Louw has shared his fantastic free remote defragmentation utility built entirely on PowerGUI and PowerShell.


The PowerPack lets you add your servers to the console and then remotely defragment any of their volumes. It also creates neat html reports (based on the great work which Alan Renouf previously shared).

WMI Defrag Report

Not only is this a very useful tool, as usual you can see all the PowerShell code behind it – so you can grab it and reuse it in your scripts later on.

Great job from Jean! Really looking forward to his next packs.

Get more information and download the PowerPack here.

Tags: , , ,

The usergroup is tomorrow

UK PowerShell usergroup with myself and Darin Pendergraft presenting the latest developments on PowerGUI and AD cmdlets is happening tomorrow (Tuesday, May 19) on Microsoft campus in Reading, UK from 6:30 till 9 pm.

I really hope to see a lot of you there or have you join over LiveMeeting if you cannot make it. The LiveMeeting details are here.

Tags: , , , ,

TechEd Online: Hal and Kirk on PowerGUI

For PowerShell fans who could not make it to the TechEd this year TechEd Online lets you get some of the action from the comfort of you office (or home).

Hal and Kirk sat together and did an online demo of PowerGUI as well as had a general discussion of PowerGUI and PowerShell. Check it out here:

Creating the Customized Administrative Console Using PowerShell: A How-To Guide

Creating the Customized Administrative Console Using PowerShell: A How-To Guide

(If the link does not work, log into TechEd Online and try the link again.)

Tags: , , , , ,

My Recent Tweets


The posts on this blog are provided “as is” with no warranties and confer no rights. The opinions expressed on this site are mine and mine alone, and do not necessarily represent those of my employer - WSO2 or anyone else for that matter. All trademarks acknowledged.

© 2007-2014 Dmitry Sotnikov

May 2009
« Apr   Jun »

%d bloggers like this: