Create a folder on the server, such as c:\logfiles\
Open a command prompt / command line window, and change directory cd\logfiles\ and press enter.
To run this tool from the command line type NetDiag.exe /L
which will send the NetDiag.log logfile to the current \logfiles\ director.