Get-PSUGUK and PoSh CTP V2

Last night was pretty miserable weather for the January meeting of the User Group. The main focus of which was the presentation by Jeffrey Snover. I have to say despite the fact it went for over an hour, it didn’t actually feel like it. It had a lot of good content, and I found that afterwards I was left thinking, yet again, that PowerShell is really going to change the face of the Windows administration space,

The general consensus around the community is that Jeffrey is a remarkably down to earth guy, pleasant, and basically just a genuine nice guy. I almost hate to admit it, but just from that short time on hearing his presentation last night that I have to agree. Considering PowerShell’s success both within Microsoft and in the Community/Vendor’s it’s surprising that this is the case. A pleasant surprise all the same.

Anyway, enough of the JS fanboi talk ;), what about PowerShell V2?

I’m hoping to have a closer look at Jeffrey’s slide deck to expand on this in more detail at some point, but I’ll touch on a few of the area’s that I saw last night and appealed to me.

Script Cmdlets
In V1 if you want to create a cmdlet, you need to write them in C# of VB(.Net?). As I’m not a developer/Programmer I never really looked at this idea in any detail. However, the demo Jeffrey gave on this last night reveals that with very little effort you can develop cmdlets written in PowerShell that provide some very nice added value to your scripts.

With V2 I can see that my library of common functions which i dot source in specific scripts, will probably be rewritten as script cmdlets and dot sourced. I’ll try and show some specific examples at a later date.

Restricted RunSpaces
Now, I’m not convinced I have the right idea here, so bear with me. In V2 there is the ability to create a name space with restricted (read: subset of the PowerShell language available) access to PoSH. Now the Administrator in me immediately thinks delegation of administration. Kind of a custom-MMC idea that would allow me to get 1st or 2nd line support run PowerShell scripts, but only the ones i delegate.

I suspect that this functionality is much more fundemental than this though and perhaps, this is more of hearing what I wanted to hear in this case? ;)

PowerShell Editor
There is a lot of 3rd party work going on in this space, and I believe MS are being careful on what they offer here. From the demo I saw last night though I would happily add the MS editor to my list of tools. It’s been made clear that this will only have basic functionality, and will never compete with offering’s being promoted by partners, but it has a couple of nice features that I personally found attractive:
- multiple runspaces available interactively
- type your code in the top half of the editor and have the execution results displayed in the lower half.
- functionality to highlight part of a script and by pressing F5 just run the highlighted element – whether thats part of a line, a few lines or as much of the script as you want.
- colour highlighting (I don’t know if brace matching is supported or likely to be)
- Intellisense will be added later on.

Where is PowerShell going?
What I found most interesting here is that Jeffrey revealed where the PoSH team want to take PowerShell. In particular there will be a lot of focus on how and where the end user will want to run their scripts. Whereas normally, this would lie within the remit of the host OS, they want to take ownership and provide the mechanisms for this to work in a more integrated way.

Anyone who has administered Windows for a period of time, is aware that the GUI is fine for administering one server, but if you want to make a change to all the servers across your estate? Now, these aren’t new challenges we are suddenly being faced with. I’ve been tackling these for nearly ten years. What I find interesting is that it feels like this is the first time Microsoft are really acknowledging the challenges we face, and are working towards making this a whole lot easier. I don’t think this is something that we are going to see overnight, but it feels like a great start!

The one thing I disagree with Jeffrey on, is his thought that the CTP isn’t for everyone. Personally, I believe that anyone who is running PowerShell (not in live here!) should switch over to the CTP. Why? Well, because V2 replaces V1, and as such all V1 functionality shouldn’t have changed. It seems to me the best way to identify any problems under V1 is to get the widest test base looking at it as possible IMHO.

What are your thought’s on V2 and the MS roadmap?

Get-PSUGUK Meeting January

Well, I’m back in the UK. I have to say the contrast in weather hasn’t been very cheerful! Oh, well.

Tonight is the User Group meeting, and it’s the groups 1st anniversary!! Well done, to Richard and Steve, and all the presenters over the last 12 months.

For the last meeting I’d organised a few bottles of Microsoft Reserve wine from Stormhoek, courtesy of Hugh MacLeod. It was decided to hold off using it, and saving them for tonight’s meeting, so I’m looking forwards to seeing what it’s like.

Talking of looking forward’s, I’m also keen to hear Jeffrey Snover’s talk this evening too.

As has become the standard now, if you can’t make it in person you can still join us in Live Meeting. :)

Hope to see you there.

West Australian Bush fire woes

I’m home in Perth over Christmas, enjoying the fantastic Summer weather here.

Despite some good news, there’s been some terrible news.

We’ve had a few close calls over the last few days, as bushfires came close to engulfing residential areas South of Perth. How close?

These pictures were taken from my Canon IXUS – the zoom’s only 3x optical, which might give you an idea on how close this came.

The majority of the photos are taken standing on Colchester Avenue, looking North to Thomas Road. Across Thomas Road is the Spectacles.

Google Map

Windsor Bushfires WA [00]
One of the helicopters trying to prevent the fire jumping across Thomas Road into Windsor Hills.

Windsor Bushfires WA [01]
The fire was in the Spectre’s National Park, across Thomas road. The flames can be seen here, well above house height.

Windsor Bushfires WA [02]
Concerned local residents watch to see whether the fire has the ability to jump across Thomas Road from (a wide dual carriage way).

Windsor Bushfire WA [03]
At this point the wind changed and the fire jumped Thomas Road. Residents restreat to a safe distance.

Windsor Bushfire WA [04]
Where people stood watching less than 5 minutes earlier, there’s now fire. Concerned home owner’s are trying to hose down what they can as the helicopters make a renewed effort to hold it back.

Windsor Bushfire WA [05]
This time looking to the right side, you can see how close this is getting to the first row of houses.

Windsor Bushfire WA [06]
There were 2 blue and 1 yellow choppers making constant runs against the fire. This fire “front” was one of many at the time, stretching the Fire Service thin on Christmas Eve!

Windsor Bushfire WA [07]
This pilot was amazing! Prior to releasing, he came in as low as he could, jockeying for position as he looked out of his window.

Windsor Bushfire WA [08]
Yes, he was that low and that close.

I can’t explain well enough how great these guys, and the WA Fire Service have been.

As far as I’m aware, not one house in Windsor Hills was lost on Christmas Eve. The helicopters and Fire Service battled the fire all day, and on and off over the next few days.

[Update 6th Jan]
Fixed the 404 error occuring when the images where clicked on. Should be fine now :)