Maystyle :
Admin : New post
Guestbook
Local
media
Catergories
Recent Articles
Recent Comments
Recent Trackbacks
Calendar
Tag
Archive
Link
Search
 
해당되는 게시물 1건
  내 컴퓨터를 만든 회사는 누구? 
작성일시 : 2008. 1. 30. 11:04 | 분류 : Windows Server/ETC | 태그 : ,

간단하게 자신 머신의 H/W 제조사를 알아보는 스크립트 입니다.

On Error Resume Next

strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
           & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")

Set colItems = objWMIService.ExecQuery("Select * from Win32_BaseBoard")

For Each objItem in colItems
           For Each strOption in objItem.ConfigOptions
                      Wscript.Echo "Configuration Option: " & strOption
           Next
           Wscript.Echo "Manufacturer: " & objItem.Manufacturer

Next

Name   Password   Home   Secret   Submit