PowerShell for Windows Admins

Oct 28 2010   6:55AM GMT

On board devices

Richard Siddaway Richard Siddaway Profile: Richard Siddaway

 

Many computer systems come with devices such as video controllers or network cards on the mother board.  Need to discover what those devices are?

001
002
003
004
005
006
007
008
009
010
011
012
013
014
015
016
$devtype = DATA {
ConvertFrom-StringData -StringData 
@’
1 = Other
2 = Unknown
3 = Video
4 = SCSI Controller
5 = Ethernet
6 = Token Ring
7 = Sound
‘@

} 

Get-WmiObject -Class Win32_OnBoardDevice |
 select Description,
 @{Name="Device"
; 
 Expression
={$devtype["$($_.DeviceType)"]}}

Use the Win32_OnBoardDevice class as shown.  On my Lenovo W510 I have some IBM embedded security hardware. That shows in the description even though that type of device isn’t covered in the standard list.

 Comment on this Post

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when other members comment.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to: