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

  • Get-UpgradeInfo by Milo 15 Apr 2011 05:15 AM UTC
    by 2 users

    Advanced Event 5
    2 Comments

    The 2011 Scripting Games Advanced Event 5: Use PowerShell to Determine Upgrade to Windows 7 Eligibility

  • Test-Windows7UpgradeEligiblity by Rich Kusak 15 Apr 2011 04:51 AM UTC
    by 2 users

    Advanced Event 5

    The Test-Windows7UpgradeEligiblity function uses WMI to collect the system information for a computer to determine if it's eligible to be upgraded to Windows 7. Additionally, the computer is tested to see if it supports the 64-bit version of Windows 7.

  • Verify-HardwareReq.ps1 by ICC_RDurkin 15 Apr 2011 03:44 AM UTC
    by 2 users

    Advanced Event 5
    1 Comments

    Advanced #5 - Ran out of time to complete. The foundation of logic is here, just didn't have enough time while on vacation to finish.

  • Advanded5_2011.ps1 by Chris Oswalt 15 Apr 2011 03:30 AM UTC
    by 2 users

    Advanced Event 5
    1 Comments

    Life has caught up with me, and I'm out of time. I've enjoyed the comments, and appreciate all the judges giving their time to help us learn so much. This script is not complete, but I did manage to figure out how to pull WDDM (Driver Model) using dxdiag and use the -Debug process unfortunately the script doesn't work.

  • Advanced5_2011.ps1 by Greg Beck 15 Apr 2011 02:24 AM UTC
    by 2 users

    Advanced Event 5
    1 Comments

    I didn't come up with anything for figuring out if a video card supports WDDM. If I was really doing this I would start by running the script on the target computer and output to csv. From there I could figure out how many different video cards I had and figure out which supported WDDM + DirectX v9.

  • Advanced5_2011.ps1 by Jason Scott 15 Apr 2011 02:09 AM UTC
    by 2 users

    Advanced Event 5

  • Check-Win7Capable by Nathan Linley 15 Apr 2011 01:50 AM UTC
    by 2 users

    Advanced Event 5
    2 Comments

    This script aims for modular code with reusable simple functions for some basic system checks related to the individual component requirements for win7. Each function gets information on individual components, or verifies them. Once the information is all gathered, it goes to a verification function to see if it meets the requirements. Any failure to meet the requirement gets combined together as a list of failed requirements of the target machine so that the information is clear as to what the system is lacking. If the system is Win7 capable, it looks at 32bit vs 64 bit requirements, hardware capability, and total ram to recommend 32bit or 64bit upgrade. If information cannot be gathered on a system, it is listed in the results with a failure note. The script uses WMI and remote registry deliberatly instead of any attempt at PS remoting, as it is assumed the target machine is a legacy OS that may not have powershell at all, and if it does, its likely that its not ps2 with remoting turned on Target machines can be provided as: 1) computer name parameter (default to localhost) 2) list of computers from get-ADComputers (pipeline) 3) csv or one machine per line text file input.

  • Test-Win7Upgrade by Jason Y. 15 Apr 2011 12:56 AM UTC
    by 2 users

    Advanced Event 5

    Test the local client to determine if the client can be upgraded to Widows 7.

  • Advanced5_2011.ps1 by Albert Fortes 14 Apr 2011 11:30 PM UTC
    by 2 users

    Advanced Event 5
    1 Comments

    Determine if a a Windows XP computer is upgradable to Windows 7 Operating System.

  • Get-UpgradeEligibility by Ryan Witschger 14 Apr 2011 11:19 PM UTC
    by 2 users

    Advanced Event 5

  • advanced5_2011.ps1 by Jonathan Z 14 Apr 2011 10:58 PM UTC
    by 2 users

    Advanced Event 5
    1 Comments

    One advanced function, Get-HardwareInfo: • completely reusable • has remoting mechanism • allowing other credentials • emits psobjects • complete comment-base help • accepts piped values: byValue and byPropertyName • advanced function • annotated • debug • error handling • sensible default value for computername

  • Advanced_5.ps1 by Justin Stokes 14 Apr 2011 08:32 PM UTC
    by 2 users

    Advanced Event 5
    3 Comments

    Checks Windows XP machine and determines if it is sufficient to be upgraded to Windows 7

  • AdvEvent5.ps1 by Franck RICHARD 14 Apr 2011 08:16 PM UTC
    by 2 users

    Advanced Event 5
    1 Comments

    2011 Scripting Games Advanced Event 5: Use PowerShell to Determine Upgrade to Windows 7 Eligibility

  • Advanced5_2011.ps1 by Robert van den Nieuwendijk 14 Apr 2011 08:01 PM UTC
    by 2 users

    Advanced Event 5
    1 Comments

    Submission for the 2011 Scripting Games Advanced Event 5. This script determines if a computer meets the requirements for the upgrade from Windows XP to Windows 7.

  • SG2011Adv05 by Jozsef Gerse 14 Apr 2011 07:52 PM UTC
    by 2 users

    Advanced Event 5

    SG2011 Adv05 event

  • WindowsSevenUpgradePath by Peter Rossi 14 Apr 2011 07:11 PM UTC
    by 2 users

    Advanced Event 5
    2 Comments

    This script will assess the elibility of all computers passed into it as to whether or not they meet the requirements for an upgrade to windows 7. The Processor, Memory and HD data is extracted via WMI Graphics data is obtained through temporarily installing and then uninstalling the Microsoft Windows 7 Upgrade Advisor tool. There is a link to this from the help and a message will tell you where to get it from.

  • Advanced5.ps1 by Micho Janssen 14 Apr 2011 12:50 PM UTC
    by 2 users

    Advanced Event 5
    1 Comments

  • advanced5_2011.ps1 by Jonathan Tyler 14 Apr 2011 11:36 AM UTC
    by 2 users

    Advanced Event 5

    This script will check computers to see if they meet Hardware Requirements for Windows 7.

  • Get-Windows7UpgradeInfo.ps1 by Alex McFarland 14 Apr 2011 05:52 AM UTC
    by 2 users

    Advanced Event 5
    1 Comments

    Uses a combination of WMI, DxDiag.exe, and PowerShell remoting to test one or many machines for Windows7 upgrade eligibility.

  • Get-Win7ReadyReport by Miklos Karasz 14 Apr 2011 05:30 AM UTC
    by 2 users

    Advanced Event 5

    Determines if a computer is upgradable to the Windows 7 operating system. Lists the reasons if some requirements not meet. Proposes Win7x64 or Win7x86 if the system meet. Recommends a solution if can't decide.

  • Test-XPUpgrade.ps1 by Matthew Painter 13 Apr 2011 11:54 PM UTC
    by 2 users

    Advanced Event 5
    4 Comments

    Advanced Event 5 of the 2011 Scripting Games uses Windows PowerShell to determine if a computer is upgradable to the Windows 7 operating system.

  • AdvancedEvent5 by Nuno Mota 13 Apr 2011 09:44 PM UTC
    by 2 users

    Advanced Event 5

  • get-SystemCompatibility by spinlock 13 Apr 2011 09:13 PM UTC
    by 2 users

    Advanced Event 5
    2 Comments

    Returns a customised PSObject(s) containing the suitability of the target computer(s) for Windows 7. Meets all the design points set out in event specification. Returned object also includes the results of each of the subsystem tests for more granular reporting.

  • Get-CompsProperties.ps1 by shs 13 Apr 2011 07:14 AM UTC
    by 2 users

    Advanced Event 5
    1 Comments

    Get Computers properties and make csv report. Report consist of information about every computer, that did polled by the script. One of the fields the report (Win7Ready) contains information on the readiness of computer to be upgraded to windows 7

  • bpfinn_adv05.ps1 by 98d0d0c4b2ec3108763ceb1cc9a64141 12 Apr 2011 09:35 PM UTC
    by 2 users

    Advanced Event 5

    This script provides a function to determine if a computer is upgradable to Windows 7.