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 in category 'Beginner Event 10'

  • TimingIsEverything by Joe D. 22 Apr 2011 06:30 AM UTC
    by 4 users

    Beginner Event 10
    2 Comments

    Determine the amount of time a command takes to complete.

  • Count_Sleep.ps1 by Aaron Bednar 16 Apr 2011 10:27 PM UTC
    by 3 users

    Beginner Event 10
    2 Comments

    This script tests the accuracy of the Start-Sleep command by timing the average of 5 runs of it at 5 seconds each. The script contains a function to allow variance on the amount of time to sleep and the amount of times to test Start-Sleep.

  • get-averagetime by Paul Iddon 17 Apr 2011 09:22 AM UTC
    by 3 users

    Beginner Event 10
    1 Comments

    Get-averagetime Gets the average time of a number of runs of a specified command Scripting Games 2011 Beginner Event 10 Created by Paul Iddon

  • Measure-CommandAverage.ps1 by Tony McGee 17 Apr 2011 11:21 AM UTC
    by 3 users

    Beginner Event 10
    1 Comments

    Measures the execution of a piece of powershell code and averages the results

  • 2011psb10.ps1 by Polin Yan 17 Apr 2011 05:41 PM UTC
    by 3 users

    Beginner Event 10
    1 Comments

    2011 Scripting Games. Beginner Event 10.

  • #Pass the parameter for which you want to average out the start-sleep commands in seconds, default is 5 sec by Vinay 17 Apr 2011 06:49 PM UTC
    by 3 users

    Beginner Event 10
    2 Comments

    Measure-command for start-sleep

  • Get-AverageRunTime by bmorrison 18 Apr 2011 03:15 AM UTC
    by 3 users

    Beginner Event 10
    2 Comments

    Gets the Average run time of 'Start-Sleep 5" ran 5 times Allows a user to specify running command more/less than the default 5 times Allows a user to specify a command other than 'Start-Sleep 5' to run

  • Get-AverageRuntime.ps1 by MarkDW 19 Apr 2011 01:54 AM UTC
    by 3 users

    Beginner Event 10
    1 Comments

    Scripting Games 2011 Beginner Event 10 Get-AverageRuntime.ps1 Gets the average run time of a command. By default the script will get the average of 5 samples of the start-sleep cmdlet running for 5 seconds each. The number of samples can be modified using the -Samples parameter, and the number of seconds can be modified by using the -Seconds parameter. Alternate commands, utilities, and scripts can be specified with the -Command parameter.

  • Start-Sleep test by Andrew Mello 19 Apr 2011 02:20 AM UTC
    by 3 users

    Beginner Event 10
    1 Comments

  • WC-Beginners10.ps1 by Sidewinder 20 Apr 2011 01:14 PM UTC
    by 3 users

    Beginner Event 10
    1 Comments

    Measure the accuracy of the Start-Sleep cmdlet

  • Beginner10_2011_andre.gibel.ps1 by Andre Gibel - CH 20 Apr 2011 05:37 PM UTC
    by 3 users

    Beginner Event 10
    2 Comments

    Beginner10_2011_andre.gibel.ps1

  • Beginner_Event10.ps1 by Debra D. 21 Apr 2011 07:24 AM UTC
    by 3 users

    Beginner Event 10
    2 Comments

    Output the average time for Start-Sleep command to execute.

  • BeginnerEvent10.ps1 by ScriptingWife 21 Apr 2011 04:30 PM UTC
    by 3 users

    Beginner Event 10
    1 Comments

    My submission for beginner event 10.

  • run-event10.ps1 by gmb 22 Apr 2011 03:58 AM UTC
    by 3 users

    Beginner Event 10
    1 Comments

    Beginner event 10

  • Beginner10.ps1 by Sadie Trest 22 Apr 2011 04:34 AM UTC
    by 3 users

    Beginner Event 10
    1 Comments

    This script creates a reusable function that executes either the default command or a user supplied command a specified number of times, averages the amount of time each command took to run and returns a string containing the result in milliseconds.

  • Beginner10_2011 by Srikanth 15 Apr 2011 10:10 AM UTC
    by 2 users

    Beginner Event 10
    1 Comments

  • Measure-SleepCommand by Ivan F. 15 Apr 2011 10:29 AM UTC
    by 2 users

    Beginner Event 10
    1 Comments

    Measure sum, average, minimum or maximum time taken to execute Start-Sleep command.

  • 10_sg_beginner by AdamZ 15 Apr 2011 12:32 PM UTC
    by 2 users

    Beginner Event 10
    2 Comments

    Script to Measure Time to Complete a Command

  • MeasureTime.ps1 by Tron04 15 Apr 2011 01:32 PM UTC
    by 2 users

    Beginner Event 10
    2 Comments

    Use PowerShell to Measure Time to Complete a Command

  • SG2011script10.ps1 by Krzysztof Walkiewicz 15 Apr 2011 01:50 PM UTC
    by 2 users

    Beginner Event 10
    1 Comments

    Displays average run time of a Start-Sleep cmdlet in milliseconds.

  • BeginnerDay10.ps1 by 52c286bdf7fa6488cd3cde9ca24538f7 15 Apr 2011 02:29 PM UTC
    by 2 users

    Beginner Event 10
    1 Comments

    Measure time to complete a command

  • measuertime by kloinerFeigling83 15 Apr 2011 02:33 PM UTC
    by 2 users

    Beginner Event 10
    1 Comments

    #Run this: measuertime -seconds 5 -runs 5

  • B-10 by Ayo Wu 15 Apr 2011 03:11 PM UTC
    by 2 users

    Beginner Event 10

  • Test-SleepTiming by ICC_AndyC 15 Apr 2011 03:16 PM UTC
    by 2 users

    Beginner Event 10
    1 Comments

    Measures the actual time it takes to execute a sleep command. For a given number of times, measures the time it takes for the Start-Sleep command to execute. Prints a message containing the number of runs, sleep time, and the average sleep time.

  • Measure-SleepTiming by Ygramul 15 Apr 2011 03:18 PM UTC
    by 2 users

    Beginner Event 10

    The number of seconds to sleep, the number of runs to take, the output message and the unit in which to measure (seconds, milliseconds, minutes, ...) are all configurable. Includes help, examples and parameter validation.