Scripts By Dave Maldonado

  • beginner10_2011.ps1 by Dave Maldonado 21 Apr 2011 07:07 PM UTC
    by 2 users

    Beginner Event 10

    Measures time it takes to run a cmdlet or script block for a specified number of intervals and calculates the average. It sends results to console but can also email results of test to recipient if email parameters are supplied.

  • beginner9_2011.ps1 by Dave Maldonado 18 Apr 2011 04:49 AM UTC
    by 2 users

    Beginner Event 9
    2 Comments

    Creates a log file in "c:\temp" using current date in format YYYYMMDD (Example: "c:\temp\20110414.log"). Detects existing file with same name. If found, will prompt for new file name and offer a default value. Default value is "current date" + "a". (Example: "c:\temp\20110414a.log")

  • beginner8_2011.ps1 by Dave Maldonado 17 Apr 2011 05:35 AM UTC
    by 2 users

    Beginner Event 8
    2 Comments

    Collects file name info, file size info (converts lengths to KB), and date of last modification; writes output to .csv file; and opens .csv file in Excel automatically. Uses parameters and therefore does not require editing the script prior to running. Will default to current working folder if no parameter specified. Sorts files by largest to smallest.

  • beginner7_2011.ps1 by Dave Maldonado 17 Apr 2011 12:06 AM UTC
    by 3 users

    Beginner Event 7
    2 Comments

    A single line of code for a logon script that will display the exact number of days between current date and the end of the fiscal year (7/31/2011).

  • beginner6_2011.ps1 by Dave Maldonado 16 Apr 2011 03:27 AM UTC
    by 2 users

    Beginner Event 6
    2 Comments

    One-liner that parses the WindowsUpdate.log file and looks for fatal errors.

  • beginner5_2011.ps1 by Dave Maldonado 15 Apr 2011 05:31 AM UTC
    by 2 users

    Beginner Event 5
    4 Comments

    Collects the user name, computer name, domain name, and the operating system information from a number of computers. Write the information to an ascii text file. Also displays progress bar as it's running to give an estimated time of completion.

  • beginner3_2011.ps1 by Dave Maldonado 12 Apr 2011 04:05 AM UTC
    by 2 users

    Beginner Event 3
    2 Comments

    This script will report all enabled classic event logs and the ETL diagnostic logs that also exist.

  • beginner4_2011.ps1 by Dave Maldonado 10 Apr 2011 07:08 AM UTC
    by 2 users

    Beginner Event 4
    2 Comments

    Reports all services that are using non-standard accounts from list of remote computers

  • beginner2_2011.ps1 by Dave Maldonado 06 Apr 2011 05:55 PM UTC
    by 2 users

    Beginner Event 2

    Uses Get-Service to report services that will accept a pause or continue command

  • beginner1_2011.ps1 by Dave Maldonado 06 Apr 2011 04:59 AM UTC
    by 2 users

    Beginner Event 1
    2 Comments

    Retrieves private build information for list of software from list of remote computers.