Blog - Title

  • Windows PowerShell Blog

    Year of the Pig Revisited – the magic of QL

    • 5 Comments
    Richard Siddaway has a blog entry showing how to calculate the Chinese Horoscope using PowerShell. His solution uses hashtables: ## create hash table $years = @{1="Rat"; 2="Ox"; 3="Tiger"; 4="Rabbit"; 5="Dragon"; 6="Snake";             7="Horse...
  • Windows PowerShell Blog

    Pause

    • 14 Comments
    In the Newsgroup Microsoft.Public.Windows.PowerShell, BJ Stigall asked what the equivalent of the batch file PAUSE function was in PowerShell. There were lots of good answers that came close but I think the one below comes the closest (and a little...
  • Windows PowerShell Blog

    Supporting -Whatif, -Confirm, -Verbose – In SCRIPTS!

    • 12 Comments
    <This is a super-important issue so you should definitely start using this in your scripts that you share with others (that have side effects on the system). Please try it out and blog about it to others so that it becomes a community norm. Thanks...
  • Windows PowerShell Blog

    NetBeans IDE support for PowerShell

    • 4 Comments
    Apparently one of the main themes of NetBeans 6.0 is going to be support for scripting languages (yet another indication of the industry wide ascendency of Scripting. It is a VERY good time to embrace scripting or "learn PowerShell and increase your integrated...
  • Windows PowerShell Blog

    Displaying USB Devices using WMI

    • 9 Comments
    Over on MyItForum.com , I came upon a VBScript in a forum to find all the PNP entities associated with a USBController. I rewrote it in PowerShell and was pretty happy with the results so I thought I would share them. The first thing you need to understand...
  • Windows PowerShell Blog

    Extended Types and Types.XSD

    • 2 Comments
    I'd like to draw your attention to a really important blog entry that Jim Truher recently made: PowerShell Extended Types (Includes a TYPES.XSD) . In that entry, he talks about how powerful PowerShell's extended type system is. He is absolutely correct...
  • Windows PowerShell Blog

    Time till we land …

    • 2 Comments
    <Today we have a guest blog entry from Ed Wilson – Author of the upcoming MSPRESS book, Microsoft Windows PowerShell Step By Step> <2/16 fixed a bug pointed out by Richard Siddaway [use TotalMinutes instead of Minutes for the out-gauge]. Thanks...
  • Windows PowerShell Blog

    Why isn’t “New-Object” aliased to “New”

    • 7 Comments
    Alistair Young made a Note to Self : In a standard PowerShell installation, "new" is not an alias for "new-object". You added that. You should therefore know better that to make this kind of dumbass mistake. We talked about making "New" an alias...
  • Windows PowerShell Blog

    Admin Development Model in Action

    • 5 Comments
    Ken Taylor has a PowerShell blog over on LiveSpaces. Today he posted a blog entry, Enabling RDP with PowerShell , that had me jumping for joy as a perfect example of the Admin Development Model in action. The whole point of the admin development model...
  • Windows PowerShell Blog

    Leveraging PowerShell Semantics to do More with Less

    • 3 Comments
    Brad Wilson – the .NET Guy recently posted a set of scripts showing how to drive TortoiseSVN from PowerShell. I thought I would use one of these to highlight how you can leverage the PowerShell semantics to do more with less code. PowerShell is provides...
  • Windows PowerShell Blog

    “Windows PowerShell in Action” has been released…

    • 5 Comments
    Since a lot of people have been asking about it, yes - my book "Windows PowerShell in Action" is finally in stock and available on-line from http://amazon.com , http://www.barnesandnoble.com/ as well as directly from the publisher http://manning.com/powershell...
  • Windows PowerShell Blog

    Execution Policy and Vista

    • 6 Comments
    Some of you may be getting an error when trying to set the execution policy on a new install of Windows PowerShell in Vista: PS C:\Users\leonard> Set-ExecutionPolicy unrestricted Set-ExecutionPolicy : Access to the registry key 'HKEY_LOCAL_MACHINE...
  • Windows PowerShell Blog

    It’s All about Economics

    • 1 Comments
    There is a cool blog over on Windows Live Spaces called PowerShell for Testers . This has a bunch of great technical meat around script testing and testing using scripts. The most recent entry is on Lowering the Cost of Test Automation which makes the...
  • Windows PowerShell Blog

    Port 25 interview with Bruce Payette

    • 2 Comments
    Port 25 recently interviewed Bruce Payette. Bruce is one of the founding members of the team, is the development lead responsible for the PowerShell language, and is the author if the soon to be released PowerShell in Action from Manning Press. I think...
  • Windows PowerShell Blog

    PowerShell Tip: How to “shift” arrays…

    • 14 Comments
    It's fairly common in scripts to extract the first element out of an array then "shift" the remaining elements. Perl has a special shift operator for doing this as do many of the UNIX shells. PowerShell, however, doesn't have a shift operator built-in...
  • Windows PowerShell Blog

    Processing text, files and XML

    • 1 Comments
    Manning Press was generous enough to put another chapter of Bruce Payette's Book PowerShell in Action book online. Presumably you'll read it and become convinced that you must buy the book in its entirety. Whatever the motivation – we all get a great...
  • Windows PowerShell Blog

    Payette Podcast

    • 4 Comments
    Superstar Scott Hanselman interviewing superstar Bruce Payette – does it get any better? Bruce is a dev lead on PowerShell and author of Windows PowerShell in Action .   Jeffrey Snover [MSFT] Windows PowerShell/MMC Architect Visit the Windows PowerShell...
  • Windows PowerShell Blog

    PowerShell Benefits Over COM Scripting

    • 7 Comments
    On an internal email thread, someone asked Vivek Sharma why they should implement PowerShell. They knew that PowerShell provided scripting but they had a COM interface which already gave them scripting so the question was – what, if any, were the additional...
  • Windows PowerShell Blog

    PowerShell Cheat Sheet – Now in XPS

    • 9 Comments
    I originally published Ben Pearce's PowerShell Cheat sheet in Word 2007 format . Given that I posted it a week before the Office 2007 launch, it turned out that not many people could read that so I posted it in PDF format as well. It now turns out...
  • Windows PowerShell Blog

    Virtual Machine Manager’s PowerShell Support

    • 17 Comments
    One of the cornerstone features of System Center Virtual Machine Manager (SCVMM) is PowerShell. They have built their entire GUI layered on top of PowerShell in the same way that Exchange 2007 did. A little while ago, I talked to Rakesh Malhotra (the...
  • Windows PowerShell Blog

    Windows PowerShell 1.0 for Windows Vista

    • 65 Comments
    As Jeffery promised to you folks, today we have offically released Windows PowerShell 1.0 for Microsoft Windows Vista . Thanks to everyone for patiently waiting for this release. To download Windows PowerShell 1.0 for Windows Vista, please visit the...
  • Windows PowerShell Blog

    Working With WMI Events

    • 6 Comments
    PowerShell V1 does not provide native support for WMI events. That doesn't mean that you can't use WMI events with PowerShell, it just means that you need to leverage the .NET classes to do so. This falls into the category of "to ship is to choose". Here...
  • Windows PowerShell Blog

    Executive Demo

    • 3 Comments
    I was in an executive review today where a team was demonstrating their technology (don't ask for details, I won't provide any :-) ). At some point they brought up this beautiful graphic showing the geographic distribution of resources and then the graph...
  • Windows PowerShell Blog

    Controlling PowerShell Function (Re)Definition

    • 8 Comments
    A question came up in the PowerShell news group recently where someone was asking how they could prevent functions from being redefined.   There are a couple of approaches you can use. First you can make functions read-only or constant. This is pretty...
  • Windows PowerShell Blog

    NetCmdlets Beta 2 is now Available.

    • 10 Comments
    nsoftware has released Beta 2 of NetCmdlet, a PowerShell snapin which provides Cmdlets for a wide range of protocols. The following is from their Release Notes: New In Beta 2 The current release is packed with new features, new functionality...
Page 30 of 40 (985 items) «2829303132»