Blog - Title

  • Windows PowerShell Blog

    PowerShell Cheat Sheet Redux - the PDF version

    • 9 Comments
    Attached is a PDF version of Ben Pearce's PowerShell Cheat Sheet. In the past I've encouraged everyone to speak up and complain if we were messing up or not giving you what you needed. I'm pleased to see that you have taken this to heart (seriously...
  • Windows PowerShell Blog

    PowerShell Cheat Sheet

    • 42 Comments
    Ben Pearce was gracious enough to put together a good looking PowerShell Cheat Sheet which I've included as an attachment to this blog post. By definition, a cheat sheet is incomplete so this contains the things that Ben has found to be the most import...
  • Windows PowerShell Blog

    Array Literals In PowerShell

    • 13 Comments
    The first thing to understand is that there are no array literals in PowerShell J Arrays are built using operators or casts. The way to build an array in PowerShell is to use the comma operator as shown in the following examples:   $a = , 1      ...
  • Windows PowerShell Blog

    How to create enum in PowerShell?

    • 8 Comments
    [Updated to comply with the naming guidelines (create=>new)] Dynamic assembly emitting techniques can be used to create new classes or data types in PowerShell. Trick is that right permission needs to be set so that data types created in dynamic...
  • Windows PowerShell Blog

    Channel 9 Chat with Scott Hanselman

    • 0 Comments
    A while ago I had the great pleasure to interview Scott Hanselman for Channel 9.about a wide range of topics. It was a blast. Think of it as the geek equivalent of My Dinner with Andre . Ok well neither of us are as interesting as that but Scott comes...
  • Windows PowerShell Blog

    IPCONFIG/All

    • 13 Comments
    While using CMD.exe, I got into a number of bad habits. One of those is the habit of eliminating whitespace for various commands. The problem is that that causes problems with PowerShell. More precisely stated – it doesn't work. Here is what you get:...
  • Windows PowerShell Blog

    PowerShell Analyzer: The Video

    • 0 Comments
    If you haven't already installed PowerShell analyzer, you can now check out want it does by watching the video. Karl Prosser recently released a 7 minute video showing you a run-through (as opposed to a walk-through) of its features. Now that fact that...
  • Windows PowerShell Blog

    Custom Alias Listing

    • 8 Comments
    When you run Get-Alias, it shows you all the aliases currently available. You might want to know which aliases were Custom aliases. That is to say, which aliases did not come built in with PowerShell. So what does it take to answer this question? We...
  • Windows PowerShell Blog

    Managing Processes in PowerShell

    • 13 Comments
    Several people have asked recently about how to manage processes in PowerShell. This blog post should answer a number of those questions. As one might expect from the "shell" part of PowerShell, you don't have to do special anything to start a process...
  • Windows PowerShell Blog

    Difficulties Reading Our Blog

    • 1 Comments
    Kjartan posted the comment: I really like reading your blog and have done so for a long time now, but since I mostly read blogs with the RSS-reader in IE7 the styling of the code samples makes the posts harder to read, for some reason IE7 (at least...
  • Windows PowerShell Blog

    Set-Alias-Strict

    • 3 Comments
    I picked up Jerry Lee Ford's book Microsoft Windows PowerShell Programming for the absolute beginner . In the section on aliases, he warns users that Set-Alias does not verify the validity of the alias assignment. That is a good point. Here is a function...
  • Windows PowerShell Blog

    Accessing data past the end of an array

    • 1 Comments
    In the newsgroup Microsoft.Public.Windows.PowerShell Marco Shaw asked about accessing data past the end of a defined array. He wondered why he didn't get an error. As a general rule in PowerShell, when you ask for something that doesn't exist, you...
  • Windows PowerShell Blog

    Sorting out -GroupBy

    • 5 Comments
    Did you realize that Format-Table had a parameter -GroupBy? This tells Format-Table to generate a series of tables instead of a single table. The best way to get this in focus is to show an example. For the purposes of this blog entry, I'm going...
  • Windows PowerShell Blog

    Behind PowerShell Installer (for Windows XP / Windows Server 2003):

    • 28 Comments
    The information here relates to Windows PowerShell 1.0 installer on downlevel platforms (XP SP2, W2K3 SP1 and above). The job of installers is to create an environment on a user’s machine, so that the underlying software works seamlessly on the machine...
  • Windows PowerShell Blog

    2 + 2 equals "Monday Evening"

    • 3 Comments
    I wanted to follow up on Jeffrey's post and one of the comments. It has to do with this example: PS> [int]1/2 0.5 The reason that we get a double rather than an int is because of precedence. The conversion has a higher precedence than the division...
  • Windows PowerShell Blog

    Two plus two equals "Monday" ?

    • 10 Comments
    In PowerShell, two plus two does not always equal four. Why? Because there are twos and there are twos. Let me explain. PowerShell does a ton of work on your behalf so you can think about what you want to do and not how to do it. Think about the...
  • Windows PowerShell Blog

    Windows PowerShell for Testers

    • 1 Comments
    The PowerShell team is very much into unit testing so, when I ran into this blog by Adam Geras today, I found it very interesting. All its entries are on using PowerShell for testing. I especially liked this entry on using PowerShell and Excel for data...
  • Windows PowerShell Blog

    "PowerShell ... is there anything it CAN'T do?"

    • 8 Comments
    This weekend my wife was searching for some stuff and came across the following photo on Flickr : http://www.flickr.com/photos/windbag/167080724/ Apparently someone had taken a photo of the one of the slides during my TechEd talk. I just loved the...
  • Windows PowerShell Blog

    Yet Another Freakishly PowerFul PowerShell One-liner

    • 0 Comments
    MOW has done it again. Check out http://thepowershellguy.com/blogs/posh/archive/2007/01/06/it-is-to-me.aspx for another one of MOW's freakishly powerful PowerShell one-liners. It is so powerful and pithy that makes my head spin. Enjoy! Jeffrey...
  • Windows PowerShell Blog

    Cliff Notes of ConvertTo-Html & Other Language Blogs

    • 5 Comments
    I just saw a PowerShell blog entry on spaces ( http://hung-yuwu.spaces.live.com/Blog/cns!744FB258BF8C8020!1291.entry ) but it was in a language I don't read (I think it was Japanese)*. I thought I would check it out for yucks and was delighted to realizes...
  • Windows PowerShell Blog

    Hyphens in Command Names

    • 6 Comments
    In my previous blog entry , I talked about how Michael Fisher had blogged his intial impressions about PowerShell . One of the things that Michael did not like was the hyphenated command names. A discussion about the Pros/Cons of hyphens isn't actionable...
  • Windows PowerShell Blog

    Blog Your Initial PowerShell Experiences

    • 16 Comments
    Michael Fisher has just started using PowerShell and is blogging his impressions. You can see them at http://fastdad.wordpress.com/2007/01/05/windows-powershell-10/ . 10,000 thanks Michael! I can't tell you how valuable we find it when people do this...
  • Windows PowerShell Blog

    Cliff Notes for PowerShell Functions

    • 1 Comments
    A PowerShell User (BS) has started a new blog with a very nice,pithy set of examples showing the range of capabilities of PowerShell Functions. Think of this as the Cliff Notes for PowerShell Functions. Check it out at: http://mybsinfo.blogspot.com/2007...
  • Windows PowerShell Blog

    More PowerShell Training Available

    • 3 Comments
    Don Jones and Jeffery Hicks (co-authors of the Windows PowerShell: TFM book) will be offering PowerShell Training in the following cities: Atlanta, GA Chicago, IL Dallas, TX Las Vegas, NV Omaha, NE Philadelphia, PA Toronto, ON...
  • Windows PowerShell Blog

    On Scripting Languages

    • 1 Comments
    There is an interesting blog entry On Scripting Languages over an the AdminSpotting site . One statement was so absolutely spot-on that I plan on stealing it and using it often, "What the Programmers call 'Dynamic Languages', the Admins call 'Scripting...
Page 31 of 40 (985 items) «2930313233»