$computers = Get-Content -Path C:\output\output.txt
$output = '\\PCname\c$\output\'
$output1 = '.txt'
($output2 =$output+$computers+$output1)
msinfo32.exe /report $output2 /computer $computer
What I am getting is the msinfo32.exe /report $output2 /computer $computer is reading the first PCname and only that name and writing the file name is each PCname with a space between each of them. Sorry for what most will seem to be a simple question I just started using PS.
Thanks