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

  • SG-2011-ADV-01.ps1 by Erik Rietveld 05 Apr 2011 12:09 AM UTC
    by 2 users

    Advanced Event 1

  • Get-ProcessModule by Tojo 2000 05 Apr 2011 01:35 AM UTC
    by 2 users

    Advanced Event 1
    1 Comments

    This function allows someone to get the module information for an arbitrary process and filter the results by the ModuleName and/or Description attribute.

  • Get-ModuleInfo by Michael Houston Moore 05 Apr 2011 08:27 AM UTC
    by 2 users

    Advanced Event 1
    1 Comments

    Collect version and file information for specified module. Outputs in a table format, and offers option to export to a CSV file.

  • get-ProcessLoadedModule by spinlock 05 Apr 2011 09:20 AM UTC
    by 2 users

    Advanced Event 1
    1 Comments

    This function outputs the DLL version for supplied executibles Uses WMI to interrogate a computer (by default the local computer) to determine what version of DLLs are in use

  • Beginner, Event 1 by Serg 05 Apr 2011 09:41 AM UTC
    by 2 users

    Beginner Event 1
    1 Comments

  • begginer1.ps1 by ZarkoC 05 Apr 2011 10:02 AM UTC
    by 2 users

    Beginner Event 1
    2 Comments

    The script take a csv file as an input, the colume name is supposed to be "Name" and then shows the results in the console. It also has the ability to export the results in to a csv file. If for some reason the command doesnt execute as expected the user gets No Server message.

  • PausableServices by vbscripter 05 Apr 2011 11:36 AM UTC
    by 2 users

    Beginner Event 2
    1 Comments

    This script displays local services that accept a pause command. To run script against remote computer use -ComputerName parameter.

    Changes:

    Fixed category.

  • Advanced1_2011.ps1 by marcadamcarter 05 Apr 2011 02:01 PM UTC
    by 2 users

    Advanced Event 1
    1 Comments

    Retrieves module information for installed components.

  • beginner1_2011_v3.ps1 by Jason Epps 05 Apr 2011 02:04 PM UTC
    by 2 users

    Beginner Event 1

    Uses powershell to get information of softare process(es) for specified computers taken from user input.

  • Advanced Event 2: Use PowerShell to Identify Status of Service Dependencies by Star Chiang 05 Apr 2011 02:05 PM UTC
    by 2 users

    Advanced Event 2
    1 Comments

    1. connect to ad and get all computer list 2. use filter to find the computer whose OS was server version 3. list every computer service whose is running, and dependent services 4. the scripting can run against multiple remote machines

  • Get-CanPauseAndContinue.ps1 by Jason Walker 05 Apr 2011 02:33 PM UTC
    by 2 users

    Beginner Event 2

    Lists if a service can be paused to continued on a local or remote machine.

  • Get-IsPrivateBuildStatus.ps1 by Jason Walker 05 Apr 2011 02:35 PM UTC
    by 2 users

    Beginner Event 1

    Query a list of computers to determine if a process is a private build.

  • Beg 2 by joel delatorre 05 Apr 2011 03:12 PM UTC
    by 2 users

    Beginner Event 2

  • Microsoft 2011 Scripting Games: Beginner1 - Displays Private Build Information about the Notepad.exe file by thepip3r 05 Apr 2011 03:23 PM UTC
    by 2 users

    Beginner Event 1
    1 Comments

    Gathers the private build information on the 'notepad.exe' file and reports the computer name.

  • Finding Process Module Versions by Michał Gajda 05 Apr 2011 03:24 PM UTC
    by 2 users

    Advanced Event 1
    1 Comments

    Function to find process modules info.

  • Beginer1.ps1 by jrussell97 05 Apr 2011 03:35 PM UTC
    by 2 users

    Beginner Event 1
    1 Comments

    Checks for a custom version of a process running on the local computer

  • get-privatebuild.ps1 by Jason Horn 05 Apr 2011 04:02 PM UTC
    by 2 users

    Beginner Event 1
    3 Comments

    This script will query a commma separated list of systems for the private build status of a particular process. Requires passing the computer names and the process name.

  • SG2011_Event2_Beg.ps1 by Derek McConnell 05 Apr 2011 04:21 PM UTC
    by 2 users

    Beginner Event 2
    1 Comments

    You are a power user who has always enjoyed “tweaking” the performance of your workstation. You are rather careful about what you do, and you always like to have a way to fix the changes you make. You recently became aware of the fact that some services allow you to pause them, and then later unpause them. Unfortunately, so far none of the services you have attempted to pause have accepted the pause command. You then got the bright idea that perhaps you could retrieve this information by using Windows PowerShell. Your script must only report on running services that accept a pause command. The output should display the status of the service, name, and display name of the services that meet the criteria.

  • Advanced2_2011 by Darrin Henshaw 05 Apr 2011 04:30 PM UTC
    by 2 users

    Advanced Event 2

    Script for the Advanced Event 2. Hope you like it.

  • Get-PrivateBuildInfo by Thiyagu 05 Apr 2011 04:31 PM UTC
    by 2 users

    Beginner Event 1
    1 Comments

    COMMENT: Script gets the Private Build info about given process. Script can accept a .txt file which contains list of servers (one server entry per line) -ComputerName :: Input Computer Name parameter -ProcessName :: Input the process name parameter

  • Get-PrivateBuild by Craig_B 05 Apr 2011 04:33 PM UTC
    by 2 users

    Beginner Event 1
    1 Comments

    Beginner Event 1 of the 2011 Scripting Games uses Windows PowerShell to identify private or public builds of software script entry.

  • Get-PausedService by Mike Hammond 05 Apr 2011 04:38 PM UTC
    by 2 users

    Beginner Event 2
    2 Comments

    This script connects to a list of computers, and determines which services on them can be paused. The selection of pauseable services defaults to the list of Running services, but can be limited through parameters to Paused services, Stopped services, and All services, regardless of current run state.

  • Stonecutter908 - Beg Ev 1 by stonecutter908 05 Apr 2011 05:03 PM UTC
    by 2 users

    Beginner Event 1
    1 Comments

  • Get-RunningProcess by e34205ecdbbbc7acaf2740f12582e9ba 05 Apr 2011 05:03 PM UTC
    by 2 users

    Beginner Event 1
    1 Comments

    Used to identify if a running process is based off a custom build executable

  • get-servicedetails by Stephen Croft 05 Apr 2011 05:04 PM UTC
    by 2 users

    Beginner Event 2

    compared to some other scripts I have written, this is a simple script to chech some service properties, namely the "canpauseandcontinue" property. It can take 4 parameters via ps cmd line, instructions are within the script header as to what and how. outputs to screen currently, though offline I may make a csv output capability