I currently have a list of IP Addresses in a CSV file called computer_info, I want to import them into powershell and sort them. I have tried a few methods on here and had no luck. I know how to import the CSV and identify the column that I want to use, but I cant figure out how to sort the strings in actual IP address order
i currently have
import-csv computer_info.csv| select ip_addr | sort ip_addr
Thanks for any suggestions
other method :