This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
GeneratePrintJobAccountingReports.ps1 | |
ver. 2014-09-26-01 | |
This script reads event log ID 307 and ID 805 from the log "Applications and Services Logs > Microsoft > Windows > PrintService" | |
from the specified server and for the specified time period and then calculates print job and total page count data from these | |
event log entries. | |
It then writes the output to two .CSV files, one showing by-print job data and the other showing by-user print job data. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
E-mail recent Windows Backup Event Log events to monitor backup status | |
This script is intended to run via an OS scheduled task using Windows Task Scheduler. | |
The script runs under the local computer account e.g. "myuser". | |
This account needs to have local admin rights to access the Windows Event Log. | |
To run the script manually: | |
%SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe -NonInteractive -ExecutionPolicy bypass -File "C:\Scripts\WindowsBackupEMailEvents.ps1" |