Showing archive results for 2007

Oct 30, 2007
Post comments count0
Post likes count0

PowerShell Cookbook Now Available

PowerShell Team

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 stuff! L...

Oct 29, 2007
Post comments count0
Post likes count0

WINRM

PowerShell Team

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.vbs(103...

Oct 29, 2007
Post comments count0
Post likes count0

Dynamic Casting

PowerShell Team

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 writing t...

Oct 26, 2007
Post comments count0
Post likes count0

Cool Stuff Coming!

PowerShell Team

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 particula...

Oct 16, 2007
Post comments count0
Post likes count0

IT administrators with PowerShell skills wanted for usability studies in the Puget Sound area

PowerShell Team

Microsoft’s Usability group is recruiting IT administrators who have intermediate to advanced skills with PowerShell for upcoming usability studies. This is a unique opportunity to provide feedback and improve the user experience of PowerShell version 2.   The first study runs from October 30th to November 4th.  This is a two-hour lab st...

Oct 8, 2007
Post comments count0
Post likes count0

“Notepad for PowerShell” – PowerGUI 1.0.11 is out

PowerShell Team

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 Developer,...

Sep 26, 2007
Post comments count0
Post likes count0

Howto: Invoking cmdlets from within a cmdlet…

PowerShell Team

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://marcoshaw.bl...

CMDLETSDK
Sep 24, 2007
Post comments count0
Post likes count0

Get-WmiHelp & Search-WmiHelp

PowerShell Team

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 almost al...

WMI
Sep 15, 2007
Post comments count0
Post likes count0

Outputting vs. Emitting Objects

PowerShell Team

Sunil wrote: Hello, Firstly i am sorry to post an unrelated question to this post. However i dont know where to post my questions. Here is my questionSay I have 2 cmdlet'sGet-locationGet-serviceWhen I create a test.ps1 file out of these 2 command and then run it, it will always do a Get-service |fl  in the outputIe. A full listing of the second com...

Sep 15, 2007
Post comments count0
Post likes count0

Documentation One Liner

PowerShell Team

I'm constantly amazed and delighted by what people are able to do with a single line of PowerShell. The System Center Virtual Machine Manager (SCVMM) team just released a PowerShell Cmdlet Reference HERE. That is cool – it allows anyone to go take a look at their Cmdlets to either get a better idea for what SCVMM does (or how it does it) or to l...