Scripts By Isaiah Jesch

  • Measure-CommandTime.ps1 by Isaiah Jesch 21 Apr 2011 08:38 PM UTC
    by 2 users

    Beginner Event 10
    1 Comments

    This script uses Measure-Command to report on the time it takes Start-Sleep to work. Results are measured in total milliseconds and are reported as the average of 5 runs.

  • New-LogFile.ps1 by Isaiah Jesch 20 Apr 2011 07:46 PM UTC
    by 2 users

    Beginner Event 9

    This script will create a file based on the current date. It also includes a check to see if a file with the same name already exists in the location. There is also a parameter option that allows the user to specify the path to save the log file in.

  • Get-FileSize.ps1 by Isaiah Jesch 19 Apr 2011 08:30 PM UTC
    by 2 users

    Beginner Event 8

    Powershell checks the specified folder and reports on the files that are stored there. The report contains the Name, Length, and LastWriteTime of each file. This information is then saved to a CSV File and Powershell automatically opens it via the Invoke-Item cmdlet.

  • Get-FatalWinUpdateErrors.ps1 by Isaiah Jesch 15 Apr 2011 09:44 PM UTC
    by 2 users

    Beginner Event 6
    1 Comments

    Powershell gets the Windowsupdate log from the directory and then runs a foreach loop that extracts all log files that have "fatal" in them.