SUPINFO International University

SUPINFO Institute of Information Technology
Laboratoire Microsoft




Informations sur le model de l'ordinateur

Accueil > Script > maintenance > Informations sur le model de l'ordinateur

Informations sur le model de l'ordinateur

Par Nicolas MILBRAND, LABORATOIRE SUPINFO DES TECHNOLOGIES MICROSOFT
Publiée le 12/02/2005 vers 11h.

Description :
Ce script VBS affiche des informations sur le modèle de l'ordinateur.

Script :

strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colSettings = objWMIService.ExecQuery _
("Select * from Win32_ComputerSystem")
For Each objComputer in colSettings
Wscript.Echo "Nom de l'ordinateur: " & objComputer.Name
Wscript.Echo "Frabriquant: " & objComputer.Manufacturer
Wscript.Echo "Model: " & objComputer.Model
Next



Proposer un script

Notre avis :

Votre avis :

Réactions :
0

Votants :
1

Visites :
9379

1
2
3
4
5

Script Précédent :

Version du Bios



Retrouvez ci-dessous les autres sections du Laboratoire Microsoft