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

  • advanced2_2011.ps1 by Jonathan Z 12 Apr 2011 06:59 AM UTC
    by 3 users

    Advanced Event 2

  • AdvancedEvent2.PS1 by Dan Jakubczak 12 Apr 2011 06:28 AM UTC
    by 2 users

    Advanced Event 2
    1 Comments

    The 2011 Scripting Games Advanced Event 2: Use PowerShell to Identify Status of Service Dependencies The function 'Get-RunningServices_wDependServiceStatus' collects all the RUNNING services on a remote server(s) Each Service is the queried for its dependent service whether they are running or stopped. The dependent service and the status is then displayed under its respective parent service.

  • Advanced Event 2 James Tryand by James Tryand 12 Apr 2011 05:45 AM UTC
    by 2 users

    Advanced Event 2

    Failure of a script, through my attempt to use the Get-Service -ComputerName property directly, rather than creating proxy functions and doing it that. way. lesson learned.

  • Get-DependentServices by Matthew Painter 12 Apr 2011 04:41 AM UTC
    by 2 users

    Advanced Event 2

    Advanced Event 2 in the 2011 Scripting Games uses Windows PowerShell to identify the status of service dependencies.

  • Get-RunningServiceDependent by Rich Kusak 12 Apr 2011 04:00 AM UTC
    by 2 users

    Advanced Event 2

    Retrieves all running services and associated dependencies reporting on the status. Assumes that since a Windows 2008 R2 domain controller exists in the environment that access to the MS ActiveDirectory module is possible to collect server names for the function to run against.

  • Get-ServiceDependencies by Benno 12 Apr 2011 02:59 AM UTC
    by 2 users

    Advanced Event 2

    The 2011 Scripting Games Advanced Event 2: Use PowerShell to Identify Status of Service Dependencies

  • Advanced2_2011 by Garrett White 11 Apr 2011 10:56 PM UTC
    by 2 users

    Advanced Event 2
    2 Comments

    Advanced Event 2: Use PowerShell to Identify Status of Service Dependencies

  • Advanced2_2011.ps1 by Chris Oswalt 11 Apr 2011 09:25 PM UTC
    by 2 users

    Advanced Event 2
    1 Comments

    Basic version of the script required for the second Advanced Scripting Games 2011.

  • A2.ps1 by Aaron Peterson 11 Apr 2011 08:21 PM UTC
    by 2 users

    Advanced Event 2
    1 Comments

  • AdvEvent2.ps1 by Franck RICHARD 11 Apr 2011 06:39 PM UTC
    by 3 users

    Advanced Event 2
    1 Comments

    2011 Scripting Games Advanced Event 2: Use PowerShell to Identify Status of Service Dependencies

  • Advanced2_2011.ps1 by Robert van den Nieuwendijk 11 Apr 2011 05:28 PM UTC
    by 2 users

    Advanced Event 2

    Submission for the 2011 Scripting Games Advanced Event 2

  • Get-ServicesReport.ps1 by ICC_RDurkin 11 Apr 2011 03:15 PM UTC
    by 2 users

    Advanced Event 2
    1 Comments

    This script will query running services and report to the screen the status of dependent services. By default the script will query the local computer, but supports remote sessions. Execution of script requires permissions on remote machines.

  • Advanced_2_2011.ps1 by Justin Stokes 11 Apr 2011 03:14 PM UTC
    by 3 users

    Advanced Event 2
    1 Comments

    This script contains the function Get-DependantServices. It returns running services and enumerates their dependent services for targets running a server OS. The script can be run directly to return results for the local system or dot sourced for frequent use.

  • Advanced_2011_event2.ps1 by Eddy Steenbergen 11 Apr 2011 12:24 PM UTC
    by 2 users

    Advanced Event 2
    1 Comments

    Finally found a use for the -groupby option of format-table. Single pass over services on computer collecting data then data processed for output.

  • Get-DependentServices by Nathan Linley 11 Apr 2011 07:57 AM UTC
    by 2 users

    Advanced Event 2
    2 Comments

    The get-DependentServices.ps1 script will display all running services on the machine, and list any dependent services, along with their status. The script can run on multiple machines at one time, either provided as a text file, comma separated list in the parameters, or wildcard lookups for active directory. The script filters computer names to look only at server operating systems.

  • 2011psa2.ps1 by Polin Yan 11 Apr 2011 05:26 AM UTC
    by 2 users

    Advanced Event 2

    2011 Scripting Games. Advanced Event 2

  • Get-DependentServices.ps1 by Alex McFarland 11 Apr 2011 03:48 AM UTC
    by 2 users

    Advanced Event 2

    Script to parse all running services and their dependent services. Works with input from the pipeline, from an array of computers, or can search active directory for all machines. Requires elevation, as I bumped into occasional issues parsing services dependent on DCOM without it. Added a switch to bypass the check for an elevated account, as most information can be returned with a standard user.

  • Advanced2_2011.ps1 by Jason Scott 11 Apr 2011 01:18 AM UTC
    by 2 users

    Advanced Event 2
    1 Comments

  • Event 2 by Craig C 11 Apr 2011 12:07 AM UTC
    by 2 users

    Advanced Event 2
    1 Comments

    Call the script without parameters, and it will scan the local computer Call the script with a computer name and it will scan that computer Call the script with -domain, and it will pull all the computers from Active Directory and then scan them

  • Advanced2_2011.ps1 by Greg Beck 10 Apr 2011 08:57 PM UTC
    by 2 users

    Advanced Event 2
    1 Comments

    Submission for Adv #2

  • Get-ProcessModule.ps1 by Seán Lillis 10 Apr 2011 06:12 PM UTC
    by 2 users

    Advanced Event 2
    2 Comments

    Gets the version details of a specified Module used by a specified Process.

  • AdvancedEvent-Two by Peter Rossi 10 Apr 2011 03:11 PM UTC
    by 2 users

    Advanced Event 2
    1 Comments

    A function which provides all of the required functionality for advanced event 2. Full parameterisation, multi threading, credential input various options.

  • SG2011Adv02 by Jozsef Gerse 10 Apr 2011 12:06 PM UTC
    by 2 users

    Advanced Event 2
    1 Comments

    SG2011 Advanced event 02

  • get-DependenceServices by Andrew Jarvis 09 Apr 2011 06:35 PM UTC
    by 2 users

    Advanced Event 2
    1 Comments

  • Get-DepServices by Miklos Karasz 09 Apr 2011 03:12 PM UTC
    by 2 users

    Advanced Event 2
    1 Comments

    Returns services are running and having dependent services. Returns the main service name and its each dependent services with status.