????? ??????? ?????? Script ??????? ??? (Eventquery.pl) ?? Microsoft Windows 2000

?????? ????????? ?????? ?????????
???? ???????: 317381 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

?? ??? ??????

??????

???? ??? ??????? ????? ??????? ?????? Script ??????? ??? (??? Eventquery.pl) ???? ??????? ?? ????? "???? ???????" ????? ????????? ???????? ??? ???? ??????? Microsoft Windows 2000.

??? ?? ?? ????? ??? ?? ?????? ?? ?? ?????? ????? ????? ?????????? ?? ????? ????? ????? ??? ???. ????? ????? "???? ??? ???????" ??? ????? ??????? ??????? ?????? ?? "???? ???????". ?????? ??? ????? ??????? ??? "???? ??????" ? ????? "???? ????? ???????? ?????" ??? ????? ???? ?????? ? ??? ?????? DNS ??? ?????? ???? ??? ?????? (DNS).

???????? "???? ???????" ? ????? ?????? ??? ??????? ??? ??????? ???????? ??????? ?????? ?? ????? ?????? ????? ?????? ??? ??????? ?????? ?? ??????. ???? ?? ?????? ????? ??????? ?? ????? ?????? ???? ????? ?????? ?????? ?????????? ?????? ????? ?????? ????????.

??????? ?????? ?? Eventquery.pl

????? ?????? Script ??????? ??? ?? 1 ???? Microsoft Windows 2000 ??????? ??????. ??? ?????? ?????? ??? ??? ?????? ??? ??????? ???? ?????? ???? ??? ??????? ??? (????? ???? ?? ???? ??? ????????? ??? ????????? ??????). ??? ?? ????? ?? ??????? ??? ?????? ??????? ????? ??????? ?????? ?? ??????? ???? ??? ????? ????????? ???????:

????????? ??????

  • ???? ????????? ???? ????? ??????? Windows 2000 Professional ?? Windows 2000 Server.
  • ??? ????? 521 ????? ActivePerl ActiveState. ????? ??? ???????? ?? Windows 2000 Resource Kit.

    ??? ????? ????? ????????? ?????? ??????? ?????? Perl ???? ?? ??????? ?? 1 ???? ????? ??????? ?? Windows 2000 ???? ????. ??? ?? ???? ?????? ??????? ???? WMI ????? ??????? Wmi.pm ? ?? ?????? \Site\Lib\W2rk Perl Installation Folder. ?????? "????? ?????? ????? ???????" ?????? ???? W2rk ????? ?? ??? ????? Wmi.pm ??? ??? ??????.

    ??? ??? ????? ?? ???????? ?????? ???? W2rk ????? ?????? ?????? ?????? ?????? ?????? Eventquery.p ???. ????? ?? ????????? ??? ????? ?????? ????? ???? ??? "Troubleshooting" ?????? ?? ??? ???????.
  • ??? ????? ?????? ???? ?? ?????? ????????? ???? ????? ??? ??????.

????????? ?????

  • ???? ????????? ???? ????? ??????? Windows 2000 Professional ?? Windows 2000 Server

???? ???? ??? Eventquery.pl

Eventquery.pl ?????? ???? ?????? ??????:
eventquery.pl EventLog [EventLog...] | * [-s Computer [-u Domain\User-p Password]] [- ?????? n | -n | Begin-End] [- ?????? ?????? | ????? | csv] [-v] [- ????? "FieldOperatorValue" [- ????? "FieldOperatorValue"...]]
???????? ???? ????? ????????? ?? Eventquery.pl ??? ???:
  • EventLog[EventLog...] | *: ??????? ??? ??????? ?????? ????? ??????? ???? ???? ?? ?????. ??? ??? ???? ?? ????? ?? ???? ?? ????? ??????? ??? ?? ??? ???? ?????. ??? ??? ???? ?? ????? ???? ????? ??????? ?????? ??? ????? (*). ??? ??? ??? ??? ????? ????? ??? ?????, ?? ????? ??????? ?????? ('').
  • -s Computer: ??????? ??? ??????? ?????? ??? ?? ????? IP ???????? ????. ??? ????? ??? ???????, ??? ????? ????????? ??????.
    • -u Domain\User: ??????? ??? ??????? ?????? ???? ???????? ???? ???? ????? Eventquery.pl. ??? ????? ??? ??????? Eventquery.pl ?????? ?????? ???????? ????? ??????. ??? ??? ?????? ??? ??????? ??? ?? ?????? ????? -p ??????? ?????? ???? ???? ????????.
    • -p Password: ?????? ??? ??????? ?????? ???? ???? ???? ???????? ?????? ?????? -u ???????. -p ??????? ?????? ??? ??????? -u ???????.
    ??????: ?????? -p ? -u ????? ?????? ??? ??? ??? ?????? -s ???????.

  • -?????? n | -n | Begin-End: ??????? ??? ??????? ?????? ??? ??????? ???? ???? ?? ?? ??? ???????. ??? ????? ??? ???????, ???? Eventquery.pl ???? ???????.
    • n: ??????? ??? ??????? ?????? ??????? n ?????? ????? ?? ?? ??? ???? ???? ?????? ??????? ??? n ??? ???? ???? ?? 0 (???).
    • -n: ?????? ??? ??????? ?????? ??????? n (??????) ?????? ?? ?? ??? ???? ???? ?? ????? ??????? ??? -n ??? ???? ???? ?? 0 (???).
    • Begin-End: ??????? ??? ??????? ?????? ???? ??????? ?? ?? ??? ??? End ?? ??????? ??????? ???? ?? 0 (???).
  • -?????? ?????? | ????? | csv: ??????? ??? ??????? ?????? ????? ???????. ??? ????? ??? ??????? Eventquery.pl ?????? ????? ??????.
  • -v: ??????? ??? ??????? ?????? ??? ???????? ?????? ????? ??? ?????.
  • -????? "FieldOperatorValue" [- ????? "FieldOperatorValue"...]: ??????? ??? ??????? ?????? ?????? ??????? ???? ?? ??????? ?? ?????. ??? ????? ??? ??????? ???? ???? ???????. ??????? ???? ?????? ?? ???? ??????? "FieldOperatorValue" ?? ???????? ???? ???? ????? ????? ?? ????? ??????.

    ???? ?????? ?????? ????? ??????? ?????? ???? ????? ??? ??? ?????? ?? ??????? - ?????. ???? ?????? ????? ???? ?? "FieldOperatorValue":
?? ??? ??????????? ??? ??????
??????? ?????????????????
???= !??? | ??????? | ????? (?????? ?????? ?????????) | SuccessAudit ?? FailureAudit (??? ????)"??? = ???"
??????? ?????????? ????? ??????? ????????Date ?? mm/dd/yy [yy] ????? ?? Date: Time ?? mm/dd/yy:hh [yy]: [mm: [ss [am|pm]]] ?????"?????/??? > ??/08/2002:11:59:59 ?"
????= !??? ?????? ???? ?? ????? ?????."???? = ????? ?????? ???????"
?????= !????? ??? ????"????? = ????? ???"
???????? ????? ??????? ????????.???? ?????"????! 88"
?????????= !??? ??????? ????."???? ????????? = server2"


?????

  • ???? ???? ??????? ?? ??? ??????? ?? ????????? ?????? ?????? ?????? ????????? ???? ????? ?????? ?? ???? ??????? ?? ???? ????? ??????? ENTER:
    ??????? eventquery.pl
  • ???? ?????? ???? ??????? ?? ????? ?????? "?" ???? DNS ?? ????????? ?????? Server8 ?? ????? ????? ???? ????? ?????? ?? ???? ??????? ?? ???? ????? ??????? ENTER:
    eventquery.pl ?????? "dns ??????" -s server8 - ????? ????? - v
  • ?????? Eventquery.pl ???????? ???? ????????? ??? ??????? ?? ??? ?????? ?? ????????? ?????? Server5 ?????? ??????? ?????? ?????? ????? ??????? ??? ??? ???? Srv5_Sec.csv ??? ???? ??????? E ???? ????? ?????? ?? ???? ??????? ?? ???? ????? ??????? ENTER:
    eventquery.pl ?????? -s server5 -u mydomain \administrator -p mypassword-????? csv > e:\srv5_sec.csv
  • ???? ??? ???? ??????? ?? ???? ????? ??????? ?? ????????? ?????? ???? ?? ??????? ??? 8: 00 A.M ? 8: 20 ? ??? 8 ?????? 2002 ?? ????? ????? ? ???? ????? ?????? ?? ???? ??????? ?? ?? ???? ????? ??????? ENTER:
    eventquery.pl * ???? ??????? - ????? ????? - v-"?????/??? > ??/08/???? 2002:8:00 ?????/???"-?????"< ??/08/???? 2002:08:20"
  • ????? ?? ??? ?????? ?? ?????? ???? ????? ????? ????? Windows 64004 ???? ?? ??????? ?????????? ???? ????? ? ???? ????? ?????? ?? ???? ??????? ?? ?? ???? ????? ??????? ENTER:
    ?????? eventquery.pl - ???? ??????? "???? = ????? ????? Windows"-?????"???? = 64004" - v
  • ??? ??????? ???? ???? ?? ??? ??????? ??? ??????? ?????? Server8 ?????? ?????? ????????? ?? ????? ????? ??????? ??? ??? App_new.txt ???? ????? ?????? ?? ???? ??????? ?? ?? ???? ????? ??????? ENTER:
    eventquery.pl ??????? -s server8 - ?????? 5 > app_new.txt
  • ???? ???? ??????? ??? (???????? 100 ???? ?????) ???? ??? ??????? ?? ??? ??????? ?????? ?????? ???? ??? ?????? ??????? ?????? ?????? ????? ??????? ??? ??? C:\Myapp\Errors.csv ???? ????? ?????? ?? ???? ??????? ?? ???? ????? ??????? ENTER:
    ????? eventquery.pl - ???? ??????? "??? = ??? ????"-?????"= myapp"-?????"????! 100" - ????? csv > c:\myapp\errors.csv

??????? ??????? ????????

??? ?????? ????? Eventquery.pl ????? ????? ????? ???????:
???: Wmi.pm ????? ?????? ???????? ?????.
??? Wmi.pm ?? ???? "????? ???????" ??? /Perl/site/lib/W2RK.
???? ?? ???? ??? ?????? ??? ?? ??? ????? ???? ????????? ???? ???? ?????? ??????? ?????? Perl ???? ?? ??????? ?? 1 ???? ????? ??????? ?? Windows 2000. ??? ?? ???????? Eventquery.pl ?????? ?? ?????? W2rk ?? ?????? \Site\Lib Perl Installation Folder ? ??? ?? ????? ??? ????? Wmi.pmi.

??? ??? ??????? ????? ???? ??? ?????? ??????? ?????? Perl ??????:
  1. ????? ???? ???? W2rk ?? ?????? \Site\Lib Perl Installation Folder.

    ??????: Perl Installation Folder ????????? drive: \Perl ??? ?? drive ?? ???? ??????? ?????? ???? Windows.
  2. ??? ??? Wmi.pmi ?? ???? ????? Windows 2000 Resource Kit (????? \Program Files\Resource ?????) ??? ?????? W2rk ???? ??? ??????? ?? ?????? 1.
??? ????? Eventquery.pl ?? ????? ????? ?? ???? ?????? ??? ??? ?? ???? ????? ???????:
INFO: ?? ??????? ????? EventLogName ??????? ?????? ???????.
?? ???? ??? ??????? ??? ?? ???? Eventquery.pl ??? ??????? ??? ??????? ???? ???? ?????? ??????? ???? ??????.

?????

?????? ??? ??????? ?????? ??? ????? ??? ????? ?? "???? ???????" ???????? ???? ??? ????? ???????? ??????? ?????? ?? "????? ??????? ?? Microsoft:
302542????? ????? ?????? ?? "???? ???????" ?? ???? ??????? Microsoft Windows 2000
315417????? ??? ????? ??????? "???? ???????" ??? ???? ??? ?? ???? ??????? Windows 2000 ? Windows Server 2003
?????? ??? ??????? ??????? ???? ??? ??? ??????? ?????? ?????? ?? "????? ??????? ?? Microsoft:
315410????? ??????? ?????? ???????? "????? ???????" (Logevent.exe) ????? ?????? ??????? ??????? ?? "???? ???????" ?? Windows 2000
????? ?? ????????? ??? Windows 2000 Resource Kit ?? ?????? ???? Microsoft ?????? ??? ?????:
Windows 2000 Resource Kit ????? Online ??????
http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/default.mspx

???????

???? ???????: 317381 - ????? ??? ??????: 12/???/1428 - ??????: 6.3
????? ???
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional Edition
????? ??????: 
kbmt kberrmsg kbhowto kbhowtomaster KB317381 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????317381

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com