C:\WINDOWS>NBTSTAT /?
Displays protocol statistics and current TCP/IP connections using NBT
(NetBIOS over TCP/IP).
NBTSTAT
[ [-a RemoteName
] [-A IP address
] [-c
] [-n
] [-r
] [-R
] [-RR
] [-s
] [-S
] [interval
] ] -a (adapter status) Lists the remote machine's name table given its
name
-A (Adapter status) Lists the remote machine's name table given its
IP address.
-c (cache) Lists NBT's cache of remote
[machine
] names and
their IP addresses
-n (names) Lists local NetBIOS names.
-r (resolved) Lists names resolved by broadcast and via WINS
-R (Reload) Purges and reloads the remote cache name table
-S (Sessions) Lists sessions table with the destination IP
addresses
-s (sessions) Lists sessions table converting destination IP
addresses to computer NETBIOS names.
-RR (ReleaseRefresh) Sends Name Release packets to WINS and then,
starts Refresh
RemoteName Remote host machine name.
IP address Dotted decimal representation of the IP address.
interval Redisplays selected statistics, pausing interval seconds
between each display. Press Ctrl+C to stop redisplaying
statistics.
C:\WINDOWS>NET /?
此命令的语法是:
NET
[ ACCOUNTS | COMPUTER | CONFIG | CONTINUE | FILE | GROUP | HELP |
HELPMSG | LOCALGROUP | NAME | PAUSE | PRINT | SEND | SESSION |
SHARE | START | STATISTICS | STOP | TIME | USE | USER | VIEW
]C:\WINDOWS>NET HELP ACCOUNTS
此命令的语法是:
NET ACCOUNTS
[/FORCELOGOFF:{minutes | NO}
] [/MINPWLEN:length
] [/MAXPWAGE:{days | UNLIMITED}
] [/MINPWAGE:days
] [/UNIQUEPW:number
] [/DOMAIN
]NET ACCOUNTS 命令用于更新用户的帐户数据库,并为所有帐户修改密码
偷锹夹枨蟆5痹诓患友∠畹那榭鱿率褂谜飧雒钍保琋ET ACCOUNTS 会
显示密码,登录限制,以及域信息的当前设置。
为了使用带有选项的 NET ACCOUNTS 命令,需要如下两个条件:
* 仅当用户的帐户已经设立时(使用“用户管理器”或 NET USER 命令),密码和
登录需求才会起饔谩?
* 所有验证登录的域服务器必须运行 NET Logon 服务。当 Windows 启动时,
Net Logon 会自动启动。
/FORCELOGOFF:{minutes | NO} 设置用户被强迫退出系统之前所拥有的分钟数。这
况会在帐户过期或有效的登录时间过期时出现。
默现凳?NO,表示禁止强迫退出系统。
/MINPWLEN:length 设置密码的最少字符数。字符数的范围是0-14个字
默认值是 6 个字符。
/MAXPWAGE:{days | UNLIMITED} 设置密码有效的最大天数。UNLIMITED 选项可以取
限制。/MAXPWAGE 选项不能小于 /MINPWAGE。
其范围是 1-999; 默认值是 90 天。
/MINPWAGE:days 设置用户不能改变密码的最小天数。0 表示没有该
。其范围是 0-999;默认值是 0 天。/MINPWAGE
选项不能大于 /MAXPWAGE 选项。
/UNIQUEPW:number 指定密码改变数次之后才允许重复,其最大值是 24。
/DOMAIN 在当前域的主域控制器上执行操作。否则在本地计算
执行操作。
NET HELP command | MORE 逐屏显示帮助。