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 ArticlePowerShell 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 ArticlePowerShell 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 ArticlePowerShell 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 ArticlePowerShell 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 ArticlePowerShell 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 ArticleWMI 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 ArticlePowerShell 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 ArticlePowerShell 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 ArticleCreating 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
More Pages to Explore .....