Scripts By Sadie Trest
Beginner10.ps1 by Sadie Trest 22 Apr 2011 04:34 AM UTCby 3 users
Beginner Event 101 Comments
This script creates a reusable function that executes either the default command or a user supplied command a specified number of times, averages the amount of time each command took to run and returns a string containing the result in milliseconds.
Beginner9.ps1 by Sadie Trest 20 Apr 2011 06:15 PM UTCby 2 users
Beginner Event 91 Comments
This script creates a new cmdlet that may be used to create a log file based on the current date. The folder, filename and extension may be optionally specified. If nothing is specified, default values are used.
Beginner8.ps1 by Sadie Trest 20 Apr 2011 03:14 AM UTCby 2 users
Beginner Event 82 Comments
The script creates a cmdlet that accepts two parameters: an export and file path(s). The files in the specified folders are enumerated and exported to a CSV file. The CSV file is then automatically opened with MS Excel.
Beginner7.ps1 by Sadie Trest 18 Apr 2011 10:20 PM UTCby 2 users
Beginner Event 7
This is a one line script that returns a string with the number of days left from now to the end of the fiscal year on July 31, 2011.
Beginner6.ps1 by Sadie Trest 15 Apr 2011 04:31 PM UTCby 2 users
Beginner Event 61 Comments
An extremely simple script that creates a function to search and return fatal errors from the Windows Update log
Beginner5.ps1 by Sadie Trest 15 Apr 2011 03:19 AM UTCby 2 users
Beginner Event 53 Comments
This script opens uses a computer name, or reads a file and passes it to a cmdlet. The cmdlet opens attempts to open a session to a comptuer and retrieves environment information and saves the results in a file using a specified filename or a default filename.
Beginner4.ps1 by Sadie Trest 13 Apr 2011 06:33 PM UTCby 2 users
Beginner Event 42 Comments
Beginner4 script to retrieve non-standard service accounts from one or more computers.
Beginner3.ps1 by Sadie Trest 13 Apr 2011 03:43 AM UTCby 2 users
Beginner Event 31 Comments
Beginner 3 script. This script gets all of the classic and ETL diagnostic logs from a single computer or an array of computers and sortson LastWriteTime, LogSize or IsClassicLog. It can also save in TXT or CSV format
BeginnerEvent2 by Sadie Trest 10 Apr 2011 05:46 AM UTCby 2 users
Beginner Event 21 Comments
This script takes an optional command line argument and retrieves either ALL or just the running services that can pause or Continue
Beginner1 by Sadie Trest 10 Apr 2011 05:39 AM UTCby 2 users
Beginner Event 11 Comments
This script will take zero, one or two command line parameters and determine whether or not the specified computer is running a specified process. If either command line parameter or both are left out, defaults are assumed for the missing parameter(s).
- Advanced Event 1 (83)
- Advanced Event 10 (34)
- Advanced Event 2 (63)
- Advanced Event 3 (50)
- Advanced Event 4 (51)
- Advanced Event 5 (38)
- Advanced Event 6 (51)
- Advanced Event 7 (39)
- Advanced Event 8 (27)
- Advanced Event 9 (46)
- Beginner Event 1 (149)
- Beginner Event 10 (85)
- Beginner Event 2 (139)
- Beginner Event 3 (100)
- Beginner Event 4 (108)
- Beginner Event 5 (93)
- Beginner Event 6 (102)
- Beginner Event 7 (108)
- Beginner Event 8 (90)
- Beginner Event 9 (92)