This script is to help resolve multiple IPs and FQDNs using PowerShell and place the output into a CSV. This script works on both IP Addresses and FQDNs.
- For IP addresses this will resolve host names
- For FQDNs this will resolve IP addresses
- Clone this and cd into the dir.
- In the file addresses_fqdns.txt, place each address or FQDN into one line, one line per entry.
- Run the PowerShell script from the terminal example -
.\addresses_fqdns_resolution_script.ps1
- This will make a new Output.csv with the completed output
- If you run the script again with the Output.csv file in this dir, the script will clean the Output.csv file and replace the contents with the new output
Please send any questions about this script to [email protected]