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 6'

  • Advanced6_2011.ps1 by Jonathan Z 18 Apr 2011 06:59 AM UTC
    by 2 users

    Advanced Event 6
    1 Comments

    - Two advanced functions - Url validation - Comment help - Automatic proxy detection - Reusable

  • adv06.ps1 by Francis D 18 Apr 2011 04:58 AM UTC
    by 2 users

    Advanced Event 6
    3 Comments

    Get Twitter names from SQL Saturday Networking page. Had to use the "weeping child" technique for parsing html. It's the Scripting Games. Let her cry.

  • Advanced5.ps1 by ICC_RDurkin 18 Apr 2011 04:04 AM UTC
    by 2 users

    Advanced Event 6
    2 Comments

    Defines Function that will return Twitter Account names from webpage.

  • Advanced6_2011.ps1 by Albert Fortes 17 Apr 2011 09:02 PM UTC
    by 2 users

    Advanced Event 6
    1 Comments

    Get data from a web page.

  • Get-TwitterUsername.ps1 by Robert van den Nieuwendijk 17 Apr 2011 05:08 PM UTC
    by 2 users

    Advanced Event 6

    Submission for the 2011 Scripting Games Advanced Event 6. This script retrieves all the Twitter usernames from a SQL Saturday Event Networking page.

  • Get-TwitterName by Rich Kusak 17 Apr 2011 07:19 AM UTC
    by 2 users

    Advanced Event 6

    The Get-TwitterName function retrieves twitter user names from a specified URI by parsing the page with a regular expression.

  • Export-TwitterUsers.ps1 by Tony McGee 17 Apr 2011 01:03 AM UTC
    by 2 users

    Advanced Event 6

    Exports twitter user names from a web page and saves them to a file.

  • 2011psa6.ps1 by Polin Yan 16 Apr 2011 09:32 PM UTC
    by 2 users

    Advanced Event 6
    1 Comments

    2011 Scripting Games. Advanced Event 6

  • Advanced 06 by Pepa ┼átefan (@stejcz) 16 Apr 2011 09:26 PM UTC
    by 2 users

    Advanced Event 6
    1 Comments

    Get-UserName is function that is able to parse names from any site if appropriate regex is supplied. By default the names are returned as requested for Advanced 06 task. However, for example StackOverflow users can be returned as well. See examples.

  • Get-SQLSatTwitterID by Alex McFarland 16 Apr 2011 08:42 PM UTC
    by 2 users

    Advanced Event 6

    Advanced Event 6 of the 2011 Scripting games. Fulfills all requirements, and all extra points options, in addition to several extra options, including a "switch" to open the file in notepad, and the option to specify the output location of the file.

  • SG2011Adv06 by Jozsef Gerse 16 Apr 2011 08:08 PM UTC
    by 2 users

    Advanced Event 6

    SG2011 Adv06 event

  • Get-TwitterName.ps1 by Franck RICHARD 16 Apr 2011 07:59 PM UTC
    by 2 users

    Advanced Event 6
    1 Comments

    2011 Scripting Games Advanced Event 6: Use PowerShell to Get Twitter Names from a Web Page

  • Advanced6_2011.ps1 by Jonathan Tyler 16 Apr 2011 02:37 AM UTC
    by 2 users

    Advanced Event 6
    2 Comments

    Connect to the SQL Saturday page (or another specified web site with Twitter username links) and store them in a text file. The text file can be specified by the user with a command parameter. NOTE: It was found while working on this assignment that some of the links on the SQL Saturday page had malformed links. For example, the link for Tim Radney has a link of "http://www.twitter.com/http://www.twitter.com/tradney" This produces a file not found at the Twitter site. However, the regular expression used is able to account for this and returns the correct username even though the link is invalid.

  • get-twitternames_fromurl by mjolinor 16 Apr 2011 12:15 AM UTC
    by 2 users

    Advanced Event 6
    1 Comments

    Gets the twitter names from a given url and returns an array of PS objects with a TwitterName property. Script uses 2 fuctions, get-webpagedata to retrieve the data from the web page, and new-psobjectfrommatches that takes the data as pipeline input and creates the objects, using a regular expression and a list of property names provided as parameters. Both functions are re-used for Advanced Event 7, and the new-psobjectfrommatches can be used to create ps objects from any [string[]] input that can be parsed using a capturing regular expression. Write-debug statements are provided to show how the data is being matched and captured, and how the property names are being applied to the matches.

  • AdvancedEvent6 by Nuno Mota 15 Apr 2011 11:35 PM UTC
    by 2 users

    Advanced Event 6
    2 Comments

    - The user can use the -VerifyUsernames parameter which will verify each username found against the Twitter website and only write the ones that do exist. - The user can also use the -URL parameter to specify another website to search for twitter usernames

  • Advanced Event 6 by Chee Vang 15 Apr 2011 08:21 PM UTC
    by 2 users

    Advanced Event 6
    1 Comments

    Extract twitter accounts from a website.

  • Advanced 6 by Chris Seiter 15 Apr 2011 04:56 PM UTC
    by 2 users

    Advanced Event 6
    2 Comments

    Parse specified website for twitter usernames only.

  • Get-TwitterNames by Steven Hall 15 Apr 2011 02:12 PM UTC
    by 2 users

    Advanced Event 6

    This script should return all of the twitter names listed on http://www.sqlsaturday.com/70/networking.aspx

  • Get-TwitterName by Jacques 15 Apr 2011 02:10 PM UTC
    by 2 users

    Advanced Event 6

    Get-TwitterName gets a list of Twitter names in a web page and saves it to a text file.

  • get-TwitterName.ps1 by spinlock 14 Apr 2011 11:33 PM UTC
    by 2 users

    Advanced Event 6

    Pulls twitter names from networking web page. In addition to the spec of the event (and meeting the extra points criteria) it also allows for the returning of user's full names (as held on the networking page), and allows the user to specify the output format CSV (more useful if geting usernames as well), and XML, as well as text, and choose encoding, force, and noclobber. See the comments at the end for testing references - or the examples in the help.

  • Advanced 6, regex parsing by Ygramul 14 Apr 2011 10:59 PM UTC
    by 2 users

    Advanced Event 6

    Uses a simple regular expression to parse the web page. Not a good approach, but works well enough for a one-off script. Includes help.

  • Get-TwitterUsername by Miklos Karasz 14 Apr 2011 10:02 PM UTC
    by 2 users

    Advanced Event 6

    Gets Twitter names from a web page.

  • Get-TwitterNames by Ryan Witschger 14 Apr 2011 07:06 PM UTC
    by 2 users

    Advanced Event 6
    1 Comments

    I wanted to one line one of the programs, and apart from the custom function to allow a pop-up save as dialog, this was a good candidate.

  • Advanced_6.ps1 by Justin Stokes 14 Apr 2011 06:56 PM UTC
    by 2 users

    Advanced Event 6
    1 Comments

    Retrieves the page source code for a given URL and strips out twitter names. This script can also be used strictly to retrieve Web PageSource.

  • bpfinn_adv06.ps1 by 98d0d0c4b2ec3108763ceb1cc9a64141 14 Apr 2011 06:30 PM UTC
    by 2 users

    Advanced Event 6

    Retrieves Twitter names from a given web page or a default web page and writes them to a text file.