PowerShell Team

Automating the world one-liner at a time…

CTP: Platform Requirements

Next week we'll be releasing a Community Technology Preview (CTP) of Windows PowerShell V2.0. I'm going to hold off saying what is in it until next week. The purpose of this email is to set your expectations about the CTP. Platform Requirements The first thing to be clear about is that the platform support for the CTP says nothing about the ...

CTP: CTP -NE Beta!

Next week we'll be releasing a Community Technology Preview (CTP) of Windows PowerShell V2.0. I'm going to hold off saying what is in it until next week. The purpose of this email is to set your expectations about the CTP. CTP -NE BETA ! The first thing to get into focus is that a CTP is NOT a Beta release. A CTP is a very early drop of...

PowerShell Cookbook Now Available

Lee Holmes' book "PowerShell CookBook" is now available. If you've been following PowerShell for any time now, I'm sure that you have Lee's Website as a favorite just as I do. Lee has a wonderful way to explain things and provide exactly the example you need to solve the problem you have at hand. Now imagine that 584 pages of that good ...

WINRM

WINRM is the CLI interface to our WS-MGMT protocol. The neat thing about this is that you can call it from PowerShell to manage remote systems that don't have PowerShell installed on them (including Server Core systems and Raw hardware). I was trying some things out and encountered the following error: PS> winrmC:\Windows\System32\winrm....

Dynamic Casting

We've seen a couple requests for this on our internal mailing lists so I thought other people would be interested. There are times when you want to do something like: $d = [DateTime][$d]"12/25/2007" Or (using a STRING instead of a TYPE): $d = Read-Host –Prompt "TYPE:"[$d]"12/25/2007" Of course if either of these worked – I wouldn't be ...

Cool Stuff Coming!

Apologizes for going "radio-silent" on the blog here. We have all been very busy getting some very exciting things ready. I'm going to leave out the details until next week but clever people will notice that we are coming up on our 1 year anniversary and remember we really like TechEd and IT Forum (both of which are in Nov). This year is ...

“Notepad for PowerShell” – PowerGUI 1.0.11 is out

Dmitry announced on his blog that PowerGUI 1.0.11 is available today with a standalone PowerShell editor. It's pretty cool! Check it out over at:  http://dmitrysotnikov.wordpress.com/2007/10/08/notepad-for-powershell-powergui-1011-is-out/ -bruce   ========================================================= Bruce Payette Principal ...

Howto: Invoking cmdlets from within a cmdlet…

A fairly common question cmdlet developers have is "How do I invoke a cmdlet from within a cmdlet". This usually comes up when converting a script or function into a compiled cmdlet. Marco Shaw is writing a nice series of blog posts covering this topic using the PowerGadgets  cmdlets as examples. Check it out at:  http://...

Get-WmiHelp & Search-WmiHelp

Both PowerShell and Windows Management Instrumentation (WMI) are pretty incredible technologies that can do a lot of amazing things, but we're all human, and keeping an encyclopedic mental reference of all of these amazing things would give Good Will Hunting a headache.  For years, when I used WMI I ...