Scripto Bobble-head Games Logo

Welcome to PoshCode and the 2011 Scripting Games!

The Scripting Games are a special event put on by the Microsoft scripting guys. Script submissions, grading, and script archives are hosted by PoshCode.org. You may want to check out the Official Rules, and the Scripting Games Information page for event information and contest details, since this site is purely for submitting your contest entry!

Remember: You will not be able to see other user's scripts until after the deadline for an event has passed, and you will not be able to submit scripts for an event once that event has passed.

Note: If you have any problems logging in, please clear your cookies. If you still have problems, please use the "Contact Us" tab above or post directly on GetSatisfaction.

Searching for Scripts

  • Beginner event 1 by ScriptingWife 04 Apr 2011 11:19 AM UTC
    by 10 users

    Beginner Event 1
    5 Comments

    my entry for beginner event 1

  • Beginner1_2011.ps1 by Jason Stangroome 04 Apr 2011 09:11 AM UTC
    by 6 users

    Beginner Event 1
    3 Comments

  • Advanced1_2011.ps1 by Jason Stangroome 04 Apr 2011 10:17 AM UTC
    by 6 users

    Advanced Event 1
    3 Comments

  • Get-BuildInformation by Ivan F. 04 Apr 2011 09:22 AM UTC
    by 5 users

    Beginner Event 1
    2 Comments

    Reports whether specified process is a private build

  • Identify-SWBuilds.ps1 by Thomas 04 Apr 2011 11:16 AM UTC
    by 5 users

    Beginner Event 1
    4 Comments

    Function to Check for Private Builds based on the Manufacturerinfo.

  • Beginner Event 1: Use PowerShell to Identify Private Builds of Software by Star Chiang 04 Apr 2011 12:17 PM UTC
    by 5 users

    Beginner Event 1
    1 Comments

  • Get-DriverInfo by Kazun 04 Apr 2011 12:35 PM UTC
    by 5 users

    Advanced Event 1
    2 Comments

    Advanced Event 1: Finding Process Module Versions by Using PowerShell

  • Find-PrivateBuild by Darrin Henshaw 04 Apr 2011 01:40 PM UTC
    by 5 users

    Beginner Event 1
    2 Comments

    Gets the process name, computername and whether the program is a Private Build. Can specify different processes/programs.

  • check-privatebuild by Stephen Croft 04 Apr 2011 02:39 PM UTC
    by 5 users

    Beginner Event 1
    4 Comments

    ################# Check-PrivateBuild ### Script Copyright Stephen Croft ### of ANS Group 2011 ### Written for the 2011 Scripting Games Beginner challange 1 ### ### Instructions; ### check-privatebuild takes four possible paramaters; ### -app "c:\windows\system32\calc.exe" --> Full path of application to check ### -complist computers.txt --> text file containing multiple computer names, each on a single line, to check ### -computer DC01 --> name of remote (or local) computer to check ### -outputcsv --> name of output csv location ### ### please note that if these are not passed the script defaults to checking Notepad on "localhost" with the output saved in %temp%\output.csv ### additionally, specifing both a single computer name and a list file will only return the list file computers. #############################################################

  • Check-Version by John Grenfell 04 Apr 2011 03:25 PM UTC
    by 5 users

    Beginner Event 1
    1 Comments

    My first attempt at "The 2011 Scripting Games Beginner Event 1: Use PowerShell to Identify # Private Builds of Software"

  • Get-ProcessModuleVersion by Boe Prox 04 Apr 2011 06:06 PM UTC
    by 5 users

    Advanced Event 1
    5 Comments

    This advanced function allows for local and remote queries for the process module. Remoting is required for this as using the Get-Process with the -Computername does not allow you to query for the process module. A switch is also available to gather computers from Active Directory as well. If no computername is given, then the local machine is used. I used a tab-delimitted output so data can be written to a CSV file.

  • Find-Exploit by Darrin Henshaw 04 Apr 2011 06:53 PM UTC
    by 5 users

    Advanced Event 1
    2 Comments

    Script for Advanced Event 1 of the 2011 Scripting Games. Out of the box without any parameters passed it checks the local PC(via remoting) and returns the Spooler module in use by Notepad. However, the process can be changed by changing the process name in the ScriptBlock of Invoke-Command. If the -Search switch is provided the script is more elaborate. It searches for all hosts within the Active Directory of the machine it's run from, and checks them all for the module in use. Should meet the criteria: 1. By default runs against local computer. 2. Output can be piped using >> to a CSV without issue. 3 Code is reusable by changing the Process we look for. 4. Using Powershell remoting. 5. Bonus is it can search through ADDS and it can accept a switch.

  • CheckPrivateBuild by vbscripter 04 Apr 2011 10:05 AM UTC
    by 4 users

    Beginner Event 1
    1 Comments

    This script checks whether computer runs private build of an application. Script without parameters checks process "notepad.exe" on local computer. Use -ProcessName and -ComputerName parameters to set process and computer name. Run script as administrator if you are not the owner of specified process.

  • Get-PrivateBuildStatus by Daniel Dittenhafer 04 Apr 2011 05:25 PM UTC
    by 4 users

    Beginner Event 1
    3 Comments

    Reuable function implementation to scan one or more computers for a given process name and report the status of the Private Build property.

  • Advanced Event 1: Finding Process Module Versions by Using PowerShel by Star Chiang 04 Apr 2011 05:30 PM UTC
    by 4 users

    Advanced Event 1
    1 Comments

  • PSAdvanced1.psm1 by Jason Y. 04 Apr 2011 06:21 PM UTC
    by 4 users

    Advanced Event 1
    4 Comments

    The code below is meant to be loaded as a module. The executing function name is PSAdvanced1. Both a help file as well as on screen prompts are provided.

  • Beginner1_2011.ps1 by sstranger 04 Apr 2011 07:37 PM UTC
    by 4 users

    Beginner Event 1
    2 Comments

    # Date: 04/04/2011 # Beginner Event 1: Use PowerShell to Identify Private Builds of Software # Author: Stefan Stranger # Version: 1.0.0

  • Get-PrivateBuild by Jeremy Dunlop 05 Apr 2011 01:01 AM UTC
    by 4 users

    Beginner Event 1
    3 Comments

    This function will check for the desired process and return whether it is a private build or not. To use type Get-PrivateBuild Process Computer. (eg Get-PrivateBuild notepad client01)

  • Get-PausedService by Craig_B 05 Apr 2011 07:03 PM UTC
    by 4 users

    Beginner Event 2

    Beginner Event 2 of the 2011 Scripting Games uses Windows PowerShell to locate services that will accept a pause command.

  • Get-ProcessModuleVersion by Milo 05 Apr 2011 10:45 PM UTC
    by 4 users

    Advanced Event 1
    1 Comments

    The 2011 Scripting Games Advanced Event 1: Finding Process Module Versions by Using PowerShell Retrieves process module information: ModuleName, FileName, Size, FileVersion Using Ps-Remoting

  • Pausable Services by Joel Bennett 07 Apr 2011 03:28 PM UTC
    by 4 users

    Beginner Event 2
    3 Comments

  • Get-NonStandardServices by Ivan F. 07 Apr 2011 09:22 PM UTC
    by 4 users

    Beginner Event 4
    1 Comments

  • Check-WindowsSevenSuitability by David Moisan 09 Apr 2011 12:39 PM UTC
    by 4 users

    Advanced Event 5
    3 Comments

    Checks Windows machines to determine their upgradability to Windows Seven. Checks CPU speed, memory, free disk and DirectX version.

  • UpgradeInformation by Kazun 09 Apr 2011 12:41 PM UTC
    by 4 users

    Advanced Event 5
    2 Comments

    Import-Module Upgrade.psm1 Get-Help Get-UpgradeInformation -Full

  • BeginnerEvent2 by ScriptingWife 09 Apr 2011 04:03 PM UTC
    by 4 users

    Beginner Event 2
    1 Comments

    My script for beginner event 2