Scripts By Sean Massey

  • beginner10_2011.ps1 by Sean Massey 21 Apr 2011 02:41 PM UTC
    by 2 users

    Beginner Event 10
    2 Comments

    Measure time that Start-Sleep takes to complete.

  • beginner9_2011.ps1 by Sean Massey 21 Apr 2011 04:01 AM UTC
    by 2 users

    Beginner Event 9
    1 Comments

    Beginner Event 9. I probably made this more complicated than I needed to, but I wanted to get some practice working with functions in Powershell.

  • beginner8_2011.ps1 by Sean Massey 19 Apr 2011 03:08 PM UTC
    by 2 users

    Beginner Event 8

    Get all files in a folder and write the name, size (length) and last write time out to a CSV file.

  • beginner7_2011.ps1 by Sean Massey 16 Apr 2011 09:46 PM UTC
    by 2 users

    Beginner Event 7
    1 Comments

    Calculates the number of days until the end of the fiscal year.

  • beginner6_2011.ps1 by Sean Massey 15 Apr 2011 05:38 AM UTC
    by 2 users

    Beginner Event 6
    1 Comments

    Parse Windows Update log files and return all lines for Fatal Errors.

  • beginner5_2011.ps1 by Sean Massey 14 Apr 2011 08:07 PM UTC
    by 2 users

    Beginner Event 5

    Beginner5_2011.ps1 connects to a local or remote computer and retrieves the computer name, domain, operating system, and the currently logged in user and outputs this information to a text file that is stored on the user's desktop. This script could be easily modified to retrieve information from multiple computers by using a file or Active Directory.

  • beginner4_2011.ps1 by Sean Massey 12 Apr 2011 07:08 AM UTC
    by 2 users

    Beginner Event 4

    Get all Services that are using non-standard accounts.

  • beginner3_2011.ps1 by Sean Massey 09 Apr 2011 04:41 PM UTC
    by 2 users

    Beginner Event 3
    2 Comments

    This is a script that will retrieve all Event Logs and ETLs from the local or a specified remote computer with options to print the results to the console or create an HTML report. Runs best if run as an administrator. Requires administrator rights on a remote computer to return logs.

  • beginner2_2011.ps1 by Sean Massey 06 Apr 2011 02:00 PM UTC
    by 2 users

    Beginner Event 2

    A script that will connect to local or remote computers and retrieve all running services that support the Pause command.

  • beginner1_2011.ps1 by Sean Massey 05 Apr 2011 12:18 PM UTC
    by 3 users

    Beginner Event 1
    1 Comments

    A script that will search for a specified process using Get-Process on local or remote computers to look for files where the Private Build attribute is set to true. The script uses WinRM to connect to remote computers, and the operator can change a number of options at runtime or set it to run against multiple computers by pointing to a file with a list of servers.