powershellscripts.com

PowerShell Logo


26 results found for the Logs and monitoring Category in about 0.008 seconds
Archive Text Logs to Zip to a different Path
Archive Text Logs to Zip to a different Path
http://gallery.technet.microsoft.com/971046f0-507e-4562-8289-e7fbe30b0b3a

Create objects from tabular data

http://gallery.technet.microsoft.com/369334db-e7d8-4951-ad09-a6d133df8ee5

Daily Event Tracker
Tracking the event and report thro e-mail
http://gallery.technet.microsoft.com/6780dae0-c709-42a2-8f59-28d7046909ed

Determine size of file on remote computers

http://gallery.technet.microsoft.com/Determine-size-of-file-on-df33b434

Disk Space Monitoring - HTML EMAIL Report
This is a powershell script, which monitors diskspace on bunch of servers and sends email to administrator, i have tested this in lab, you should also first test this in a lab and then deploy in production.
http://gallery.technet.microsoft.com/6e935887-6b30-4654-b977-6f5d289f3a63

Display all GPRS online sessions

http://gallery.technet.microsoft.com/Display-all-GPRS-online-c84011b9

Event Log Monitor Module
This module allows you to define a monitor against an event log on a computer or computers for an EventID or IDs and also defines an action to take on triggering event.
http://gallery.technet.microsoft.com/49d18808-0b47-4533-a8bf-a5e17efa9ed9

Generate list of failed faxes for Windows Fax server
Generates a list of failed faxes for Windows Fax server and dumps the results as an HTML file that can be viewed by any user regardless of who sent the fax.
http://gallery.technet.microsoft.com/6e958369-cbaa-4564-8eae-c0feb351ae66

Get reliability info
This is helpful for troubleshooting application hangs, errors, failed Windows Updates, and much more.  You can also determine which Windows Updates and applications have been installed recently and their installation results.Example:Get-ReliabilityInfo -Type Microsoft-Windows-Win
http://gallery.technet.microsoft.com/Get-reliability-info-cdf80852

List Event Log Properties
Retrieves a list of properties for all the event logs on a computer, except the Security event log. This script requires both Windows PowerShell and the corresponding version of
http://gallery.technet.microsoft.com/b1ada521-83d9-4773-8d14-d9b364bba505

List Events from the Event Logs
Retrieves events from the Application and System event logs. This script requires both Windows PowerShell and the corresponding version of the .NET Framework. For more informatio
http://gallery.technet.microsoft.com/de60f0ab-bcc5-47e2-b97d-9ec278be1a6d

Log file Analyzer
A poor mans log file analyzer - Will highlight keywords (ERROR, Warning, Pass or whatever words)
http://gallery.technet.microsoft.com/f9f6f897-dd99-48f1-95f7-ab1557b99a2e

Login monitoring
Connects to a security log and retrieves successful login events and returns time, user, and type of login
http://gallery.technet.microsoft.com/dd90d04f-5de5-4cf2-ad50-187701f3196c

Maintain a text file at a fixed number of lines.
Many of the system log files can become extremely large over a long time period. This script will fix the length to a preset value, removing extra lines from the end of the file. Any unwanted blank lines can also be eliminated if desired. Blank lines can simply be removed by usin
http://gallery.technet.microsoft.com/72c24dc0-aa5c-4693-af98-d4bcb31e00d2

Measure IIS Page/File Performance
Retrospectively measures performance of individual files served by Internet Information Services (IIS)
http://gallery.technet.microsoft.com/ba516564-bb8b-4e47-93a0-1472433a582c

Monitor for particular event log events on a remote machine
Monitor for particular event log events on a remote machine
http://gallery.technet.microsoft.com/ccc4f445-6c19-4300-9210-d8b200ab18ef

New-TempFile
The New-TempFile function creates a new temp file in the user's temp directory
http://gallery.technet.microsoft.com/fce1aaa3-2c98-47bf-b5c2-6856af1a7717

Powershell Centralized Log Monitor
Monitors a collection of servers for specified log events, and sends email alerts when it encouters the monitored events.
http://gallery.technet.microsoft.com/ed188912-1a20-4be9-ae4f-8ac46cf2aae4

PrintQueueLogging
Monitors print queue usage by retrieving events generated on the print server
http://gallery.technet.microsoft.com/44ba12ff-8c7f-41ad-8d7f-85421ba4198b

PS- Get Event Log information from multiple computers using WMI
This script reads a text file to get list of computers to query. It then uses WMI to query the computers for a specific event from a specific event log. These parameters are configurable from the command line.
http://gallery.technet.microsoft.com/479d4a4e-b06b-4464-94b2-5a61af14d82b

Record the start and end times of all scripts run

http://gallery.technet.microsoft.com/Record-the-start-and-end-d3c2f84c

Record the start and end times of PowerShell Console scripts.

http://gallery.technet.microsoft.com/Record-the-start-and-end-3a506033

Remove Old SQL Transaction and Backup Files based on file extension
To remove all TRN and BAk files that have been created more than x hours ago from the time it is run.
http://gallery.technet.microsoft.com/4d3890ca-d515-41e6-b41f-bae77f5a3cca

Search VMware Logs for Errors or other Information Get-VMwareLogs
This script will parse VMware logs for particular search strings.An example in this code is for Memory Controller Errors (where the term MCE is used).You run this on a scheduled task and it will scan the logs and email any matching events.I recommend scanning every 15 mins, then
http://gallery.technet.microsoft.com/Search-VMware-Logs-for-7528a274

Split large textfiles into smaller parts

http://gallery.technet.microsoft.com/Split-large-textfiles-into-e9b8f53e

Write-LogFile
Function to output data into a log file. Options for path, extension and overwrite.
http://gallery.technet.microsoft.com/cb1a2852-b0c8-4dc3-b54d-92dabc58376d