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 'Advanced Event 10'

  • Out-TempFile by Jason Hofferle 16 Apr 2011 09:18 PM UTC
    by 2 users

    Advanced Event 10
    2 Comments

    This advanced function creates a uniquely named tmp file in the current user's temporary directory. It accepts any type of object through the pipeline or InputObject parameter. It supports Unicode and ASCII encoding, and includes a parameter for opening the temporary file with notepad.

  • Advanced10_2011 by Glenn Sizemore 16 Apr 2011 04:32 PM UTC
    by 4 users

    Advanced Event 10
    1 Comments

    Create a new temp file for use later. Not much going on with this event so I chose to just write a real clean and simple solution.

  • create-temporarytextfile by David Moisan 16 Apr 2011 01:10 PM UTC
    by 2 users

    Advanced Event 10

    Creates a temporary text file in the user's temporary folder from pipeline input. Optionally produces Unicode output. Optionally opens the text file in Notepad. Supports -debug and -verbose options

  • OutTempFile by Jacques 16 Apr 2011 08:19 AM UTC
    by 2 users

    Advanced Event 10
    2 Comments

    OutTempFile.ps1 creates an advanced function called Out-TempFile that sends output to a temporary file. Out-TempFile accepts an Encoding parameter, a DisplayInNotepad parameter that opens the file in Notepad, as well as the WhatIf, Confirm, Debug and Verbose parameters. You must dot source the script first, and then you can use the function.

  • Advanced10 by John Lan 16 Apr 2011 05:14 AM UTC
    by 2 users

    Advanced Event 10

    Create a temp file under default temp folder. Path+fileName is returned upon sucessful creation. Except the common switches e.g. -verbose, -debug, and -whatif, all other requirements outlined in the game description are implemented.

  • Write-Temp by Milo 16 Apr 2011 05:10 AM UTC
    by 2 users

    Advanced Event 10
    5 Comments

    The 2011 Scripting Games Advanced Event 10: Use PowerShell to Create a Function to Create Temp Files

  • Add-ContentToTempTextFile.ps1 by Matthew BETTON 15 Apr 2011 09:20 PM UTC
    by 2 users

    Advanced Event 10
    1 Comments

    The Add-ContentToTempTextFile function adds string content to a temporary random file name.

  • Out-TempFile by Kazun 15 Apr 2011 05:28 PM UTC
    by 3 users

    Advanced Event 10
    1 Comments

    Advanced Event 10: Use PowerShell to Create a Function to Create Temp Files

  • A-10 by Ayo Wu 15 Apr 2011 04:17 PM UTC
    by 3 users

    Advanced Event 10
    2 Comments