Scripts By Sean Massey
beginner10_2011.ps1 by Sean Massey 21 Apr 2011 02:41 PM UTCby 2 users
Beginner Event 102 Comments
Measure time that Start-Sleep takes to complete.
beginner9_2011.ps1 by Sean Massey 21 Apr 2011 04:01 AM UTCby 2 users
Beginner Event 91 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 UTCby 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 UTCby 2 users
Beginner Event 71 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 UTCby 2 users
Beginner Event 61 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 UTCby 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 UTCby 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 UTCby 2 users
Beginner Event 32 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 UTCby 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 UTCby 3 users
Beginner Event 11 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.
- 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)