Create a script

完了済み 投稿 Sep 11, 2014 着払い
完了済み 着払い

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

VB.NET ウィンドウズサーバー

プロジェクトID: #6441672

プロジェクトについて

6個の提案 リモートプロジェクト アクティブ Sep 12, 2014

アワード:

senet

Hello, I have 7 Years of Corporate proven experience in IT Infrastructure Services and I have worked for large enterprises across the world. I am VMware Certified Professional 5 – Data Center Virtualization, Microso もっと

$25 USD 1日以内
(レビュー1件)
2.0

6人のフリーランサーが、平均$28 で、この仕事に入札しています。

karunakartiwari

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 もっと

$35 USD 1日以内
(23件のレビュー)
4.6
yasithab

Hello mate, a systems engineer with 3 years of indestry experiences. I can start it right now if you want. This thing cab be done through a batch script as well. Of course you can pay me after I complete your work. If もっと

$30 USD 3日以内
(レビュー1件)
0.4
dohoanghuan

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 もっと

$25 USD 1日以内
(0件のレビュー)
0.0
jaimebennett

Thanks for considering me for this project! I'm a programmer/systems administrator in upstate NY. I look forward to working with you!

$30 USD 1日以内
(0件のレビュー)
0.0
AHTOAH

Hello, I have build such script in PowerShell that performs the desired actions and can be easily expanded or modified. Let me know if you are interested and I can provide it\modify it to your needs. Regards, T もっと

$30 USD 1日以内
(0件のレビュー)
0.0