Articles

PowerShell articles, tutorials, and guides from community experts.

Jonathan Medd
Scripting Games

Reporting On Installed Windows Programs Via The Registry

Quite a common request for working with Windows machines is to report the software installed on them. If you don’t have a centralised system for reporting on client software (many places don’t) then you may turn to some form of scripted method to obtain this information. Most people tend to head to …

Don Jones
Scripting Games

The Scripting Games Winter 2014 – Update on Event 1 Scores

Note that scorecards for the first event will not be accurate immediately on Sunday when judging closes; we have the scores in the database, but they’re not tagged in a way the system can find them. The bug has been fixed, but I need to go through and manually re-tag the first day’s …

Terri Donahue

PowerShell Saturday 007 style

Last year was the first annual PowerShell Saturday in Charlotte, NC. We were 002. This year, we are back and will be blowing minds in 007 style. We have some great speakers and sessions lined up and there are still tickets available. The popular Iron Scripter! competition will also be back. All of …

Jonathan Medd
Scripting Games

Adding and Removing Items from a PowerShell Array

Adding and removing Items from a PowerShell array is a topic which can lead to some confusion, so here are a few tips for you. Create an array and we will note the type System.Array: Click here to be redirected to the original post of this article on the author’s blog site where you can read the …

Jonathan Medd
Scripting Games

Testing for Admin Privileges in PowerShell

Sometimes when running a PowerShell script you may need to test at the beginning whether the process it was called from had Windows admin privileges in order to be able to achieve what it needs to do. Prior to PowerShell v4 I had used something along the lines of the following to test for this …

Richard Siddaway
Scripting Games

Scripting Games 2014 – event submission tip

I’ve testing out the judging system using the practice event and one thing jumped out at me. It was a lot easier to understand the entries for those teams that included a transcript of their entry. I would very strongly recommend that you include a transcript of your entry running. As a …