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 tagged ' Measure-Command'

  • Beginner_Event_10 by Mohit Kataria 21 Apr 2011 06:03 PM UTC
    by 2 users

    Beginner Event 10
    1 Comments

    The script measures a sleep command for 5 runs and displays the user the average of all the runs in milliseconds. We can specify the number of runs as well as sleep time for the sleep command in this script.

  • DetermineCommandDuration.ps1 by ICC_RyanDennis 15 Apr 2011 05:50 PM UTC
    by 2 users

    Beginner Event 10
    1 Comments

    This PowerShell script uses Measure-Command and Start-Sleep to measure the time it takes for a command to run. By providing the Amount and Seconds parameters, you can define how many times to run and for how many seconds.