July 2009 - Windows PowerShell Team Blog

  • Windows PowerShell 2.0 RTM

    Windows 7 and Windows Server 2008 R2 have been released to manufacturing. Both of these products include Windows PowerShell 2.0 and its exciting new features, such as remoting, ISE, modules, advanced functions, enhanced WMI support, and a variety of new cmdlets, plus a ton of other features. We are proud of this release. We thank the PowerShell community, specially our MVPs , for helping us to make...
  • Final Approved Verb List for Windows PowerShell 2.0

    First, I want to say thanks to everyone who posted suggestions for the verb list on the blog post at http://blogs.msdn.com/powershell/archive/2009/04/22/soliciting-new-verbs.aspx . In addition to the blog comments, we received a lot of feedback from our MVPs and internal partners. I wanted to loop back with everyone on the outcome of the verb list update and post the final approved verb list for Windows...
  • Advanced Debugging in PowerShell

    Here is a collection of tips and tricks to debug PowerShell Read Up There is a 7-part series of “ Debugging Monad Scripts ” that Jon Newman wrote a few years ago that covers a lot of tips, including error handling, traps, tracing, and covers a lot of V1 stuff. Clean code The best route, is to make sure code is clean, and common errors are caught. To do so, run Set-StrictMode -Version 2 Note, there...
  • Portable PowerShell - Survey

    Have you ever faced a situation where you want to do some PowerShell magic on a server - but you can't because it is not installed. Well, Karl Prosser is now building a tool to do that. From Karl's blog... "Portable PowerShell is software that allows you to run PowerShell on machines that don’t have PowerShell installed that you can run from a Machine that doesn’t have PowerShell on it...
  • Function Help Cannot Share a Cmdlet Help File

    In Windows PowerShell 2.0, you can write help topics for functions, scripts, and modules, just as you do for cmdlets and providers. In fact, as a best practice, you should always include help topics for all shared PowerShell items. And we make it easy. For functions and scripts, you can write comment-based help topics right in the script or function (see about_Comment_Based_Help ) or you can write...
  • Dynamic binary modules

    Using add-type and import-module you can dynamically compile and load an assembly without any intermediate assembly files to cleanup. For instance, to run a cmdlet on a remote machine you could send over the cmdlet source code, compile, import, and run it all on the fly. Let’s say you have your cmdlet called Use-MyCmdlet as C# code in the file mycode.cs: PS> [ string ] $code = Get-Content mycode...
  • Free PowerShell V1 Book From the Makers of PowerShell Plus

    A number of you are already familiar with Dr Tobias Weltner.  Tobias has been involved with Windows scripting for many many years.  He was very active in the VBScript and WMI communities and then an very early adopter of PowerShell.  He is on of the PowerShell MVPs and the inventor of the amazing PowerShell Plus (I had Tobias demo this in one of my talks and people’s jaws just dropped...
  • Evolution vs. Intelligent Design

    I’m watching a cool talk by Greg Kroah Hartman about the Linux Kernel .  He just said something that I absolutely LOVE and feel great kinship towards.  He said that the joke in the Linux community is that “ Linux is not ‘Intelligent Design’, it’s ‘Evolution’.  Which means we react to stimuli that’s happening in the world … we don’t over-plan things ”.   I think that is a great...
  • URLs for PowerShell Core Help Topics

    Several Windows PowerShell online help fans have requested a list of all of the URLs for Windows PowerShell Core online help topics in the TechNet Library. I'm providing them here so that they're available to everyone. The file includes URLs for the current Windows PowerShell Core conceptual ("about"), cmdlet, and provider help, custom cmdlet help for the WSMan provider, and a few...
  • PowerScripting Podcast update

    PowerScripting Podcast hosted by MVP Hal Rottenberg will have MVPs Joel Bennett & Oisin Grehan. They will talk about PoshCode See it live tonight at 9pm EDT http://www.ustream.tv/channel/powerscripting-podcast Next week: MVP Don Jones will talk about security in PowerShell. Thanks Osama Read More...
Copyright 2012 PowerShell.com. All rights reserved.