rem PC:ldap="OU=PC,DC=yu,DC=test-yu,DC=com"
set ldap="OU=PC,DC=yu,DC=test-yu,DC=com
dsquery computer %ldap% -stalepwd 40 > e:\密码过期.txt
set ldap="OU=PC,DC=yu,DC=test-yu,DC=com
dsquery computer %ldap% -stalepwd 40 > e:\密码过期.txt
转载于:https://blog.51cto.com/lzy821218/273862