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

  • Advanced7.ps1 by ICC_RDurkin 19 Apr 2011 04:05 AM UTC
    by 2 users

    Advanced Event 7

    Two functions: First (Get-TwitterNames) will gather twitter account names and usernames from a webpage and output results to a csv file. Second (Get-TwitterUserName) will read a csv file (like the one created by Get-TwitterNames), and return the user's name by specifying the twitter account name.

  • Get-TwitterUserRealName by Jonathan Tyler 19 Apr 2011 03:30 AM UTC
    by 2 users

    Advanced Event 7

    This script will capture the Twitter usernames from a specified web address and save the names to a text file. The script will also extract the real name for the Twitter user from the web site and store it as a CSV file.

  • Advanced 7 by Chris Seiter 19 Apr 2011 02:53 AM UTC
    by 2 users

    Advanced Event 7

    Ugly attempt at taking code from website and putting it into a csv and translating inputted twitter or usernames.

  • search-twitterUser by spinlock 18 Apr 2011 09:27 PM UTC
    by 2 users

    Advanced Event 7

    Pulls username to real name mapping from a supplied Web page. Caches the results in a CSV file, which then is used to allow the user to lookup twitter names from their real name, and vice versa. The cache is updates if it is older than a day (configurable by parametes daysOld) Uses Reusable functions - temporary file creation, and ensures that files is deleted. Include Integrated help with multiple usage examples. It is not short - but lots of checking of I/O.

  • Advanced7_2011.ps1 by Albert Fortes 18 Apr 2011 09:05 PM UTC
    by 3 users

    Advanced Event 7

    Get data from a web page. (V.1.1)

  • Advanced_2011_event7.ps1 by Eddy Steenbergen 18 Apr 2011 01:41 PM UTC
    by 3 users

    Advanced Event 7

    Tweaked the solution to event 6 - chgd regex to include real names.

  • adv07.ps1 by Francis D 18 Apr 2011 12:49 PM UTC
    by 3 users

    Advanced Event 7

    Get Twitter names and real names from SQL Saturday Networking page.

  • Advanced7_2011.ps1 by Matthew Painter 18 Apr 2011 09:19 AM UTC
    by 2 users

    Advanced Event 7
    2 Comments

    Advanced Event 7 in 2011 Scripting Games uses Windows PowerShell to map user's names to Twitter names.

  • Advanced7.ps1 by Micho Janssen 18 Apr 2011 07:49 AM UTC
    by 2 users

    Advanced Event 7

  • Get-TwitterName.ps1 by Robert van den Nieuwendijk 17 Apr 2011 06:30 PM UTC
    by 2 users

    Advanced Event 7

    Submission for the 2011 Scripting Games Advanced Event 7. This script retrieves all the Twitter usernames and the person's actual names from a SQL Saturday Event Networking page.

  • Resolve-TwitterName by Rich Kusak 17 Apr 2011 03:26 PM UTC
    by 2 users

    Advanced Event 7

    The Resolve-TwitterName function resolves twitter names from a specified URI by parsing the page with a regular expression. Adhoc resolution can be done by providing either the twitter full or user name as an argument on the Name parameter. Optionally, the results can be saved to a CSV file.

  • Get-TwitterUser.ps1 by Tony McGee 17 Apr 2011 10:53 AM UTC
    by 2 users

    Advanced Event 7
    1 Comments

    Map User's Names and Twitter Names with PowerShell. Gets a list of twitters users from a web page and either: a) Saves them to a file; or b) Lookup a specific name

  • 2011psa7.ps1 by Polin Yan 17 Apr 2011 03:18 AM UTC
    by 2 users

    Advanced Event 7

    2011 Scripting Games. Advanced Event 7

  • Advanced 07 by Pepa ┼átefan (@stejcz) 16 Apr 2011 11:08 PM UTC
    by 2 users

    Advanced Event 7

    Two functions. First one (Get-UserNameAndRealName) parses and stores the names to csv file. Second function (Get-Name) is used to look up the user name or real name from the csv file.

  • Get-UserAndTwitterName.ps1 by Franck RICHARD 16 Apr 2011 09:20 PM UTC
    by 2 users

    Advanced Event 7
    1 Comments

    2011 Scripting Games Advanced Event 7: Map User's Names and Twitter Names with PowerShell

  • Get-SQLSatTwitterCSV by Alex McFarland 16 Apr 2011 08:47 PM UTC
    by 2 users

    Advanced Event 7
    1 Comments

    Advanced Event 7 of the 2011 Scripting games. Fulfills all required functionality, and all "extra points" options. Additionally has the option to specify the CSV file location, open the resulting file in notepad, and search with wildcards.

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

    Advanced Event 7

    SG2011 Adv07 event

  • get-friendlyandtwitternames_fromurl by mjolinor 16 Apr 2011 12:22 AM UTC
    by 2 users

    Advanced Event 7
    1 Comments

    Gets the twitter names from a given url along with their associated friendly names, and returns an array of PS objects with FriendlName and TwitterName properties. 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 from Advanced Event 6, 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.

  • AdvancedEvent7 by Nuno Mota 15 Apr 2011 11:36 PM UTC
    by 2 users

    Advanced Event 7

    - The script 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 any other website to search for twitter usernames; - The -LookupUsername parameter maps a username to user's "real" name and the -LookupDisplayName does the opposite. These can be used at the same time.

  • Get-UserTwitterNames.ps1 by Matthew BETTON 15 Apr 2011 10:28 PM UTC
    by 2 users

    Advanced Event 7
    2 Comments

    The Get-UserTwitterNames.ps1 script gets twitter names and real names to a CSV file. Also, this script can find twitter name(s) or person's actual name(s) (from CSV file)

  • Get-SQLSaturdayNetworking by Jacques 15 Apr 2011 04:37 PM UTC
    by 2 users

    Advanced Event 7
    2 Comments

    Get-SQLSaturdayNetworking gets Twitter contacts from a SQL Saturday event networking page and saves them to a CSV file. In addition, two functions are provided to easily retrieve names from a contact list as well as convert a full name to a Twitter name or vice-versa. The script must be dot-sourced for those two functions to be available.

  • bpfinn_adv07.ps1 by 98d0d0c4b2ec3108763ceb1cc9a64141 15 Apr 2011 03:26 PM UTC
    by 2 users

    Advanced Event 7

    Retrieves a web page and extracts Twitter names and actual names from it. You can also search for a Twitter name given a real name provided as a parameter.

  • Advanced 7 by Ygramul 15 Apr 2011 02:12 PM UTC
    by 2 users

    Advanced Event 7
    1 Comments

    Using the HTML Agility Pack to parse the HTML. Includes help. Loading the list and looking for specific names rolled into a single script with parameter sets.

  • Get-TwitterDetailsAdvanced - Find-TwitterDetails by Peter Rossi 15 Apr 2011 08:38 AM UTC
    by 2 users

    Advanced Event 7
    1 Comments

    Get-TwitterDetailsAdvanced Collects the real name and twitter account details from a page and returns a CSV file. Optional STATS option to retrieve more data via the twitter API Find-TwitterDetails A function which uses the outputted CSV file from the first function to perform lookups between real names and twitter accounts and vice versa. Full help with examples in both and pipeline processing too.

  • Advanced7 by John Lan 15 Apr 2011 02:59 AM UTC
    by 2 users

    Advanced Event 7

    2011 Scripting Game Adv Event 7. This script contains 3 resuable Functions, the first to retrive Twitter accounts from given web page; the secand to map Twitter account to full name, the last to map full name to twitter account. At the end of the script is a demo section so this script can be run as is. It will generated a results.csv at current folder, then shows FN for a given Twitter account and vice versa.