O'Reilly logo

Performing an Active Directory Health Check by Andrew Abbate

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

SECTION 8Appendix

The following are detailed switch commands and variables available on the tools described in this digital shortcut.

Command-Line Switches for NetDiag

NetDiag can be run with several switch options, including

netdiag [/q] [/v] [/l] [/debug] [/d:DomainName] [/fix] [/DcAccountEnum] [/test:TestName] [/skip:TestName] [/?]

Parameters
  • /q—Specifies quiet output (errors only).
  • /v—Specifies verbose output.
  • /l—Sends output to Netdiag.log. This log file is created in the same directory where Netdiag.exe was run.
  • /debug—Specifies even more verbose output. With this parameter, NetDiag takes a few minutes to complete.
  • /d:DomainName—Finds a domain controller in the specified domain.
  • /fix—Fixes minor problems.
  • /DcAccountEnum—Enumerates domain ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required