Hello,
iam new here, and iam new to powershell :)
this is my first try:
I want to ping some Ip's or Host's from a textfile
Get-Content C:\Ping2.txt | Ping-Host -Timeout 1 -Count 1 -BufferSize 1 | Format-Table | Out-File C:\Test.txt
with this script, it looks like this:
Host Loss Sent Received AverageTime
---- ---- ---- -------- -----------
abc.xxx.xxx.de 0 % 1 1 1ms
but I also need the IP :
Host IP Loss Sent Received AverageTime
---- ---- ---- ---- -------- -----------
abc.xxx.xxx.de 0 % 1 1 1ms
but all my trys wont work :(
can you guys help me?