Scripts By Dave Maldonado
beginner10_2011.ps1 by Dave Maldonado 21 Apr 2011 07:07 PM UTCby 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 UTCby 2 users
Beginner Event 92 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 UTCby 2 users
Beginner Event 82 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 UTCby 3 users
Beginner Event 72 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 UTCby 2 users
Beginner Event 62 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 UTCby 2 users
Beginner Event 54 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 UTCby 2 users
Beginner Event 32 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 UTCby 2 users
Beginner Event 42 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 UTCby 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 UTCby 2 users
Beginner Event 12 Comments
Retrieves private build information for list of software from list of remote computers.
- 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)