Link to home
Start Free TrialLog in
Avatar of Isaiah Melendez
Isaiah Melendez

asked on

Powershell Script Help

I am trying to figure out how to ping a remote hostname and return only the IP address and store it into a text file.

Could someone help me out? I really appreciate your help in advance.
Avatar of Albert Widjaja
Albert Widjaja
Flag of Australia image

Try this one: https://gallery.technet.microsoft.com/scriptcenter/Powershell-Script-to-ping-15e0610a

It is the script that suitable to your requirement.
SOLUTION
Avatar of Shaun Vermaak
Shaun Vermaak
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Isaiah Melendez
Isaiah Melendez

ASKER

Thanks, Qlemo, this is exactly what I needed.