Each line from computers.txt is piped to ForEach-Object which runs the MyFunction command passing the current computer name as the parameter value ($_) for the computer parameter. For a small list, ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible results