You mean something like this ?
Get-Content-PathC:\vmnames.txt|
Select@{N="VMname";E={$_}},
@{N="Status";E={
$vm=Get-VM-Name$_-ErrorActionSilentlyContinue
if($vm){$vm.PowerState}else{"Not found"}
}}
The vmnames.txt file is assumed to have 1 name per line