How To Powershell Foreach Command Example.
This how to video shows an example of how to use the foreach command in powershell. Listed below are the commands that were used:
$a = cat list.txt
foreach ($b in $a) {ping $b}
This video is brought to you by https://www.lockard.it