打印

[推荐] [vbscript]管理员的工具箱 <10>查询/备份远程计算机的事件日志

本主题由 mwpq 于 2007-11-7 08:53 关闭

[vbscript]管理员的工具箱 <10>查询/备份远程计算机的事件日志

Lists event log entries on one or more computers.! q! {7 o& z- M6 q& J5 \% M8 E7 R

, k# H. p4 M7 z1 ]8 EUse only one of the following:
/ f- b+ ?5 d. X7 ?4 | y+ K/ m# v5 H
/list:filename : text file containing one computer name per line9 \) D6 M% T( t' |2 }7 |
/container:ouname : name of an OU containing computer accounts
" p% |5 e, s) O' o. ]4 Z /computer:name : run command against single specified computer$ O( x* q4 \& I& {3 n& U: o. L

6 n( O. X, D% N' B0 l /log:name indicates the log to list and is required
. e9 v9 J) b1 Z
; v. y3 A: o$ ^4 w5 nOther arguments are optional.
9 @6 z* Y( Q2 q; B: c z& ]* @
C2 U6 E) a! j; @, wUsage: cscript listevents.wsf [/list:value] [/container:value] [/computer:value] [/verbose] [/recurse] [/log:value] [/ping] [/output:value] /evtlog:value
& m2 y, @2 Q% Q3 Y' h 6 l/ a7 b8 B# j, b \. M
Options:1 ?# j2 M1 N' _0 R: }1 ?6 O
list : Text file to pull computer names from: e; n, Z4 w3 e. U. ~2 W* F* i
container : OU to pull computer names from
2 ~& e, z6 [3 p$ vcomputer : Run command against single specified computer
) B7 O7 u% c0 u' E# U0 ^: }0 X/ Hverbose : Display detailed messages+ d, ^' s4 H T9 |* m, o
recurse : Use with /container to include sub-OUs0 b8 s- C* h) i8 j; c/ D2 N
log : File to log names which can't be reached
, w5 o0 ^7 v$ r# V) {/ Rping : Reduce timeout wait by pinging before attempting
M4 d1 {* g+ l4 k( u0 ?9 F) |5 ooutput : Path and filename to write output to3 _+ K* y! v; B4 b
evtlog : Event log from which to list entries
附件: 您所在的用户组无法下载或查看附件
《无量寿经·第十八愿》言:
设我得佛,十方众生,至心信乐,欲生我国,乃至十念,若不生者,不取正觉。唯除五逆,诽谤正法。

TOP

TOP