打印

[推荐] [vbscript]管理员的工具箱 <48>列出运行某服务的所有计算机

[vbscript]管理员的工具箱 <48>列出运行某服务的所有计算机

Lists computers running a particular service.5 h2 {) _5 u6 c" J' ^$ ]+ \

M. e3 D/ b' z& g1 @Use only one of the following:
" s# ~7 A" B* d6 {$ o9 C, n /list:filename : text file containing one computer name per line# \6 q% u- T$ T. q: f: d
/container:ouname : name of an OU containing computer accounts y* {: Q& P6 X/ s( I+ C2 h
/computer:name : run command against single specified computer& v l2 m( j* G9 T0 x& e N
Use /service to specify the service to check for.
) j3 f# l" U# I" f" BOther arguments are optional.
5 H; ?' R* N; c6 h0 F) C% J7 N2 S+ b3 D' z- T
Usage
& X) A/ ]5 U6 u2 c1 I" N% r$ h( u' KListComputersUsingService.wsf [/list:value] [/container:value] [/computer:value] [/verbose] [/recurse] [/log:value] [/ping] [/output:value] /service:value # r# e# Q$ }) y, X$ z; |3 b8 |
Options' M w! f5 ]1 ^7 Z, S6 b _( J, X1 r
list : Text file to pull computer names from& J' X! r! q4 J7 v8 ]
container : OU to pull computer names from
. A; ]$ n, ~: j8 |7 B, n rcomputer : Run command against single specified computer
6 Q& x4 A/ s0 d* @6 l3 N- ]8 Qverbose : Display detailed messages
0 K: i5 G+ @4 }; j- g# A7 precurse : Use with /container to include sub-OUs
* [6 E1 P1 D1 v& f. r/ |log : File to log names which can't be reached
# w' `3 ~2 y7 G/ q4 H* bping : Reduce timeout wait by pinging before attempting
; Q; ^; x" c! foutput : Path and filename to write output to. }8 L+ x% q7 Z6 U4 Z
service : Service to check for
- C% O* C i6 C( e, P) ?' D
' u# q0 R+ k% n& d0 QSystem Requirements
9 ^. g0 y5 Y( {* } y+ S" WWindows XP
" B' V% m% Y# ^) w3 \: \4 @& dWindows Server 2003
/ Q5 a w5 i$ c- ^7 W5 F4 [- z) k
- H G9 ?8 p2 d. b0 z5 N, e[ 本帖最后由 mwpq 于 2007-1-11 06:09 编辑 ]
附件: 您所在的用户组无法下载或查看附件
《无量寿经·第十八愿》言:
设我得佛,十方众生,至心信乐,欲生我国,乃至十念,若不生者,不取正觉。唯除五逆,诽谤正法。

TOP