查看计算机的当前密码和登录限制。
NET ACCOUNTS - 语法
NET ACCOUNT [/FORCELOGOFF:{minutes | NO}] [/MINPWLEN:length] [/MAXPWAGE:{days | UNLIMITED}] [/MINPWAGE:days] [/UNIQUEPW:number] [/DOMAIN]
FORCELOGOFF - 强制在定义的时间段内注销当前用户。
MINPWLEN - 这是为用户提供的最小密码长度设置。
MAXPWAGE - 这是为用户提供的最大密码使用期限设置。
MINPWAGE - 这是为用户提供的最小密码使用期限设置。
NET ACCOUNTS - 示例
NET ACCOUNT
Force user logoff how long after time expires?: Never Minimum password age (days): 0 Maximum password age (days): 42 Minimum password length: 0 Length of password history maintained: None Lockout threshold: Never Lockout duration (minutes): 30 Lockout observation window (minutes): 30 Computer role: SERVER The command completed successfully.