1: 2: 3: 4: 5:
$computer = Get-Content -path C:\computers.txt Foreach ($i in $computer) { Get-WmiObject Win32_BIOS -computername $computer }