Home » Questions » Computers [ Ask a new question ]

How can I report the advanced networking configuration as plain text?

How can I report the advanced networking configuration as plain text?

What command can I use to get all these settings (and their values) into a text file?

Asked by: Guest | Views: 260
Total answers/comments: 2
bert [Entry]

"You can use Microsoft's official DevCon tool, which can be run by the command line. From Microsoft's website, they describe it as:

The DevCon command-line utility is as an alternative to Device Manager.

You can get the tool here, along with the basic documentation. It's a very robust tool, and with a bit of tweaking and command line switches, should do exactly what you need.

You can use the > operator to stream the output from stdout to a file (e.g. devcon [args] > output.txt). You can then wrap everything into a batchfile and distribute it to your users."
bert [Entry]

"I use CIM and Powershell for this:
(
Get-CIMInstance CIM_NetworkAdapter |
Where-Object {$_.Name -eq ""Network adapter name""} |
Select-Object * -Exclude Cim* |
Out-String
) >""Text file path"""