Quantcast
Channel: richmac
Browsing latest articles
Browse All 24 View Live

PowerShell Diversion #2: Charts, Tables and Events

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...

View Article



PowerShell Diversion #2: Discussion

[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...

View Article

PowerShell Diversion #3: PowerShell Week

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...

View Article

PowerShell Diversion #3: Discussion

[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...

View Article

PowerShell Diversion #4: Can You Count on PowerShell?

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...

View Article


PowerShell Diversion #4: Discussion

[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...

View Article

WMI Date Formats … PowerShell to the Rescue

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,...

View Article

PowerShell Diversion #5: Let’s Play FizzBuzz

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...

View Article


PowerShell Diversion #5: Discussion

[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...

View Article


Image may be NSFW.
Clik here to view.

Creating a QR Code Reader App for Windows Phone 7

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...

View Article
Browsing latest articles
Browse All 24 View Live




Latest Images