Simple script to get information via PowerShell from the computer about model of the machine and vendor.
<#
Get information about vendor and model of computer
#>
Clear-Host
Write-Host
Write-Host * Get Computer Vendor and Model information * -ForegroundColor white -BackgroundColor red
Write-Host
$Computer = Read-Host [Enter hostname]
Write-Host ..........................................................................
Write-Host
$vendor = (Get-WMIObject -ComputerName $computer Win32_ComputerSystemProduct).Vendor
$name = (Get-WMIObject -ComputerName $computer Win32_ComputerSystemProduct).Name
Write-Host : $computer :,: $vendor :,: $name : -ForegroundColor yellow
Get information about vendor and model of computer
#>
Clear-Host
Write-Host
Write-Host * Get Computer Vendor and Model information * -ForegroundColor white -BackgroundColor red
Write-Host
$Computer = Read-Host [Enter hostname]
Write-Host ..........................................................................
Write-Host
$vendor = (Get-WMIObject -ComputerName $computer Win32_ComputerSystemProduct).Vendor
$name = (Get-WMIObject -ComputerName $computer Win32_ComputerSystemProduct).Name
Write-Host : $computer :,: $vendor :,: $name : -ForegroundColor yellow
You need enter computer name and in return you will get Computer Name, Vendor and Model of the machine.