Check type of computer
Get-WmiObject -Class Win32_ComputerSystemProduct | Select-Object -ExpandProperty Name
This will tell you make and model of computer, only works OEM machines
Get-WmiObject -Class Win32_ComputerSystemProduct | Select-Object -ExpandProperty Name
This will tell you make and model of computer, only works OEM machines