If you just want Name and Model you should just Select Name and Model: ;-)
Get-WmiObject -Class win32_computersystem -ComputerName $pcname | Select-Object name, model
BTW: Please format your code as code here in the forum. It will be much easier to read and to understand.
Grüße - Best regards
PS:> (79,108,97,102|%{[char]$_})-join''