Tag Archives: Powershell

Updating An Existing Get-ProductKey Function

A couple of days ago I received my daily PowerTips email from PowerShell.com talking about how to get the Windows Product key via PowerShell from your local system. The code is simple and to the point to look for and … Continue reading

Posted in powershell, scripts | Tagged , , | 57 Comments

Yet Another Countdown Timer Using PowerShell

So I have been literally sitting on this script for about a year now and am finally looking to publish it after seeing Josh Atwell’s awesome post about writing a countdown timer in the PowerShell console and using it as … Continue reading

Posted in GUI, powershell, scripts | Tagged , , , | Leave a comment

Scripting Games 2012: Know When To Use Format-Table

This was a common occurrence during the Scripting Games. Someone writing a great script or one liner that gave me everything that I needed. But then right at the end I see something like this: | Format-Table Ok, what is … Continue reading

Posted in powershell, Scripting Games 2012 | Tagged , , , | 3 Comments

Expert Commentator Post on Hey, Scripting Guy! For Advanced Event 2

My Expert Commentator post on Hey, Scripting Guy! is live today. My focus today was on Advanced Event 2 with my own solution and explanation behind it. I had a fun time working on it and hope you enjoy it, … Continue reading

Posted in News, powershell, Scripting Games 2012 | Tagged , , , | Leave a comment

Scripting Games 2012 Notes: Wait A Second, $True –eq “False”?!?

Yes, what you are reading is correct,$True does in fact equal “False” in PowerShell. While this exact line was not used recently in the Scripting Games this year, people competing and submitting scripts did do something similar that gave a … Continue reading

Posted in powershell, Scripting Games 2012 | Tagged , , | 2 Comments