Answer the question
In order to leave comments, you need to log in
Powershell command outputs multiple columns. How can I select (catch in a file) one of them? Is there a Powershell book for easier?
Team:
Test-Connection -count 1 -ComputerName (Get-Content test.txt)
Source Destination IPV4Address IPV6Address Bytes Time(ms)
------ ----------- ----------- ----------- ----- --------
AP-ILYA 192.168.2.10 192.168.2.10 {} 32 3
AP-ILYA ya.ru 213.180.204.3 {} 32 6
Answer the question
In order to leave comments, you need to log in
Test-Connection -count 1 -ComputerName (Get-Content test.txt)|Select Address
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question