Scripts By Neil Clinch

  • Beginner10_2011.ps1 by Neil Clinch 21 Apr 2011 08:01 PM UTC
    by 2 users

    Beginner Event 10
    1 Comments

    Measure the average accuracy of the Start-Sleep command by performing a number of runs for a specified duration of seconds. Then display the average amount of time in milliseconds.

  • Beginner9_2011.ps1 by Neil Clinch 21 Apr 2011 01:47 AM UTC
    by 2 users

    Beginner Event 9

    Creates a log file that is named based on the current date in the format of YYYYMMDD.txt For example if the date is 4-20-2011 the filename is 20110420.txt The log file is created in a user specified folderpath or if omitted c:\logs If the log FolderPath does not exist you will be prompted for a valid log FolderPath. If the log file already exists in the FolderPath you are prompted to enter a unique filename.

  • Beginner8_2011.ps1 by Neil Clinch 20 Apr 2011 03:24 AM UTC
    by 2 users

    Beginner Event 8

    Obtains a listing of all the files in a folder, and writes each file's Name, Length and LastWriteTime to a comma-separated value (CSV) file then opens the file with Microsoft Excel.

  • Beginner7_2011.ps1 by Neil Clinch 18 Apr 2011 06:15 AM UTC
    by 2 users

    Beginner Event 7

    Display in a Balloon Tip Number of Days until a specified event. for example the end of the fiscal year.

  • Beginner6_2011.ps1 by Neil Clinch 18 Apr 2011 04:05 AM UTC
    by 2 users

    Beginner Event 6

    Parse Windows Update Log (%systemroot%\Windows\WindowsUpdate.log) looking for Fatal Errors

  • Beginner5_2011.ps1 by Neil Clinch 15 Apr 2011 05:26 AM UTC
    by 2 users

    Beginner Event 5

    Collect the user name, computer name, domain name, and the operating system information from a number of computers and write it to a text file. Information is appended to the output text file.

  • Beginner4_2011.ps1 by Neil Clinch 14 Apr 2011 01:47 AM UTC
    by 2 users

    Beginner Event 4

    Returns a table of services that are not configured to use standard service accounts. The table contains SystemName, StartName, Name and DisplayName. The script returns services on the local computer unless another computer is specified using the ComputerName parameter. Standard Accounts are "LocalSystem", "NT Authority\LocalService", and "NT Authority\NetworkService"

  • Beginner3_2011.ps1 by Neil Clinch 13 Apr 2011 04:16 AM UTC
    by 2 users

    Beginner Event 3

    Produces a report of all enabled classic event logs and the ETL diagnostic logs sorted by the last time the log was written to with most recent dates on top of the list. In addition, display the size of the log, and whether or not it is a classic log.

  • Beginner2_2011.ps1 by Neil Clinch 11 Apr 2011 06:20 AM UTC
    by 2 users

    Beginner Event 2

    Retrieve running services that accept a pause command 1)Can be run against a remote computer by specifying the computercame as the first argument of the script if blank the script returns information from the local computer 2) Returns Running and Stopped services that accept a pause command if you specify a second command line parameter. this fulfills the •Extra points for using a switch to allow selection of other types of information, such as reporting on ALL services (running or stopped) that will accept a pause or continue command.

  • Beginner1_2011.ps1 by Neil Clinch 11 Apr 2011 02:48 AM UTC
    by 2 users

    Beginner Event 1
    1 Comments

    Retrieve Private Build information of Processes running on a local or remote computer