AntiMalware Status

Get Computer Vendor and model via PowerShell

Simple script to get information via PowerShell from the computer about model of the machine and vendor.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<#
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.

Leave a Reply