Browse by Tags

Tagged Content List
  • Blog Post: PowerShell Sessions, Slides and Demos from TechEd 2013

    We presented following sessions at this year’s edition of TechEd(s). At TechEd, we announced the newest feature in Windows PowerShell 4.0 – Desired State Configuration , so do check out the attached demos for it!! Desired State Configuration in Windows PowerShell TechEd-NA Session...
  • Blog Post: Cmdlet Help Editor is now released on CodePlex

    I published the source code for the Cmdlet Help Editor on CodePlex here: http://cmdlethelpeditor.codeplex.com/ . Please feel free to contribute. for more information on the Cmdlet Help Editor, please check out the following post: http://blogs.msdn.com/b/powershell/archive/2007/09/01/new-and-improved...
  • Blog Post: Scaling and Queuing PowerShell Background Jobs

    A couple of months ago I had asked the PowerShell MVPs for suggestions on blog topics. Karl Prosser, one of our awesome MVPs, brought up the topic of scaling and queuing background jobs. The scenario is familiar: You have a file containing a bunch of input that you want to process and you don’t...
  • Blog Post: 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...
  • Blog Post: Adding Custom Cmdlet Help for Providers

    A new feature of Windows PowerShell 2.0 lets you write custom cmdlet help for Windows PowerShell providers. This blog explains how to do it. (The topic will also be covered in excruciating detail in MSDN, but we don't want you to wait.) What's a Provider? A Windows PowerShell provider is a C#...
  • Blog Post: How to Create an Object in PowerShell

    Today someone in Xbox Live Operations (the folks that keep xBox Live alive and well) pinged me with a simple question about PowerShell with a complicated answer: “How do I create a class in PowerShell?” There’s two scenarios I find where people want classes.  The first (and most...
  • Blog Post: How To Write a Console Application in PowerShell with Add-Type

    Windows PowerShell CTP3 has a lot of very cool things.  CTP2 introduced the Add-Type cmdlet, which allowed you to dynamically compile C# in PowerShell.  It was actually possible to use the CompilerParameters to Add-Type to make a console application, but it wasn't particularly easy.  In...
  • Blog Post: What the Heck is an ENUM?

    In my latest post Explore your [Environment] I said the following: PS> [System.Environment+SpecialFolder] IsPublic IsSerial Name                                    ...
  • Blog Post: Explore Your [Environment]

    This topic is a little long but I strongly encourage you to walk through it and master the techniques it illustrates.  I can assure you that you'll will use them a couple thousand times in the next couple of years. .Net provides a wonderful class called System.Environment that tells you all about...
  • Blog Post: When NOT To Use "WHERE"

    I've seen a number of scripts that look like this: GET-XXXX | Where {$_.name -eq "foo"} or GET-XXXX | Where {$_.name -like "A*"} Whenever you see code like this, it is a sign that the GET-XXXX is not designed correctly. (NOTE: GET-XXXX is NOT a porn retrieval cmdlet - it is a standin...
  • Blog Post: All About Modules

    One of the coolest new features of Windows PowerShell is PowerShell modules.  I've just written a tutorial about how to use them on my personal blog . You can check out the full post for more details, but here are some easy things to remember about modules: Modules can be scripts with functions...
Page 1 of 1 (11 items)