nslookup — Export ResultsIT technician command center
Windows CMD · Windows Command Line

nslookup — Export Results

Export the output of nslookup for documentation or review.

Copy-ready commandnslookup — Export Results
nslookup -type=mx example.com

Requirements and permissions

Requirements
Windows 10/11 or Windows Server
Permissions
Varies by command
Last reviewed
2026-07-31

Examples

Export Results

Export the output of nslookup for documentation or review.

nslookup -type=mx example.com

Original command

Query DNS records.

nslookup -type=mx example.com

Common errors

Command not found

Confirm Windows 10/11 or Windows Server is installed and available in your current shell.