richmac

richmac's random musings

Posts
  • richmac

    Creating a QR Code Reader App for Windows Phone 7

    • 0 Comments
    If you’ve updated Windows Phone 7.5, you might have noticed that it has some nice built-in functionality for reading QR Codes using Bing Vision search. After trying it out for a while, I pretty quickly started wondering how I could use this in an app...
  • richmac

    PowerShell Diversion #5: Discussion

    • 0 Comments
    [Follow-up discussion for PowerShell Diversion #5 ] Here is an implementation of FizzBuzz that solves the original request to display the ‘numbers’ between 1 and 100: foreach($i in (1..100)) {     $out = ""    ...
  • richmac

    PowerShell Diversion #5: Let’s Play FizzBuzz

    • 0 Comments
    Here’s a quick diversion to exercise your basic scripting skills: FizzBuzz is a game often played by schoolchildren as a way to practice their metal arithmetic abilities (or as a game for drunken adults, if you listen to Wikipedia ).  The rules we...
  • richmac

    WMI Date Formats … PowerShell to the Rescue

    • 0 Comments
    If you use WMI in your PowerShell scripts you’ll probably have noticed that dates are shown in a rather odd format.  For example: Get-WmiObject –Class Win32_BIOS |      Format-Table Description, ReleaseDate -AutoSize Description         ...
  • richmac

    PowerShell Diversion #4: Discussion

    • 0 Comments
    [Follow-up discussion for PowerShell Diversion #4 ] OK, first the stats: There are 86 solutions if you allow for leading zeros in EFGH and consider ‘AB x CD’ to be distinct from ‘CD x AB’ There are 52 solutions if you...
  • richmac

    PowerShell Diversion #4: Can You Count on PowerShell?

    • 0 Comments
    Here’s a problem that is more abstract and a bit trickier than the previous ‘diversions’. It doesn’t require anything very sophisticated or obscure in terms of PowerShell, but might take a bit of extra thought on how to construct...
  • richmac

    PowerShell Diversion #3: Discussion

    • 0 Comments
    [ Follow-up discussion for PowerShell Diversion #3 ] So, it looks like 35 people attended the different sessions for PowerShell Week. The following one-liner can generate a list of their names and email addresses from the individual attendee lists...
  • richmac

    PowerShell Diversion #3: PowerShell Week

    • 2 Comments
    Last week was “PowerShell Week” in our office*. In an effort to introduce my colleagues to the wonders of PowerShell, I arranged a series of “PowerLunches”, each one lasting an hour and covering a different aspect of PowerShell...
  • richmac

    PowerShell Diversion #2: Discussion

    • 1 Comments
    [Follow-up discussion for PowerShell Diversion #2 ] There are a number of things we need to look at to make a table with a built-in chart (as mentioned in the hint file from the original post). The first is working out how to read events from the event...
  • richmac

    PowerShell Diversion #2: Charts, Tables and Events

    • 0 Comments
    In an old post I discussed using the Microsoft Chart Controls to generate some professional looking charts from PowerShell.  These are great if you want to use the charts in a formal report or presentation, but what if all you want is a basic bar...
  • richmac

    PowerShell Diversion #1: Discussion

    • 0 Comments
    [Follow-up discussion for PowerShell Diversion #1 ] So, when did the show take place?  Well, with the given information, it is impossible to tell for sure.  The 11 November was a Thursday in 1971 and 1976, so it could be either of those. ...
  • richmac

    PowerShell Diversion #1: The ‘70s, a time of Flares, Disco and poorly scheduled shows …

    • 0 Comments
    Just for fun, I thought I’d post some ‘diversions’ for new PowerShell scripters.  They will probably be no surprise/challenge to  experienced users, but if you’re a PowerShell newbie, then they will hopefully make you think about features of...
  • richmac

    Application Compatibility Training for Microsoft Premier Customers

    • 0 Comments
    For about a year before Windows 7 was released (and for a short while after), I spent lot of time working with ISVs and early adopters to make sure their applications would work when they migrated away from Windows XP. After that, requests for this kind...
  • richmac

    Recommended PowerShell Books

    • 0 Comments
    I speak to a lot of customers about PowerShell and frequently get asked for tips on further reading.  Now, there are many great web resources for PowerShell, but as someone who’s early years were definitely pre-internet, I still have a great love...
Page 1 of 1 (14 items)