AD Dcdiag 域控制器诊断

dcdiag /v | findstr “通过”

使用DCDIAG /e /v /q  测试前删除所有已经产生的错误日志

wevtutil el | foreach-object { wevtutil cl $psitem}