Create a script
$10-30 USD
着払い
There are 3 main event logs [security, system, application] in Windows server.
Each day at 00.01 a job should run to export the current events into a file, mail that file to staff then clear the event log.
To do this you can use the command line utility WEVTUTIL (Windows 2008 servers only), particularly the epl and cl parameters of this command
Create a script that will:
(i) Define the 3 parameters YY, MM and DD for Year, Month and Date respectively
(ii) Export each event log using "WEVTUTIL EPL <event log> <filename>"
where <event log> is one of the 4 event logs mentioned above and
<filename> is [url removed, login to view], where app is for the application log, sec will be the security log etc.
(iii) The export log should be stored on the D:\ partition of each server (e.g. D:\)
(iv) Mail these files to pertinent staff using the postie app
(v) Then clear the event log using "WEVTUTIL CL <event log>", ready for the next day's events.
(vi) This job will then be configured to run in the Scheduler (use the SchedulerSRV account for this).
I would prefer if you used VB Script as this runs seamlessly on Windows
プロジェクトID: #6441672
プロジェクトについて
6人のフリーランサーが、平均$28 で、この仕事に入札しています。
Hello Sir, Greeting for the day, Hope you are doing well. I am Working with Data Center Organization as a Linux and windows Expert, I have more than 8 years’ experience in Web hosting and migration, working on more もっと
I have much experience in the use VBScript (WMI interface) to do the administrators Windows system auto I have MCSA certification, and daily work on linux, proficient in the use of CLI for Windows and Linux I bel もっと
Thanks for considering me for this project! I'm a programmer/systems administrator in upstate NY. I look forward to working with you!