Networks

Question

Locked

Powershell > Variables from Text File

By maxpowers410 ·
Hi guys

Was wondering if anyone knew how to have an external .txt file in which i have a list of server IPs.
These need to be read by my powershell skript and each individual one turned into a variable.

I am making a loop, and everytime my script starts the loop again i want it to take the next line in the corresponding text file...
Any ideas???

Thanks in advance!!

Max

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Related Discussions

Related Forums