SUPINFO International University

SUPINFO Institute of Information Technology
Laboratoire Microsoft


Pour avoir le nom de la machine...

Accueil > Script > maintenance > Pour avoir le nom de la machine...

Pour avoir le nom de la machine...

Par Islah OUALKADI, LABORATOIRE SUPINFO DES TECHNOLOGIES MICROSOFT
Publiée le 07/02/2005 vers 14h.

Description :
Ce script VBS permet d'avoir le nom de la machine.

Script :

Dim Shell
Dim CompName
Set Shell = Wscript.CreateObject ("Wscript.Shell")
CompName = Shell.ExpandEnvironmentStrings ("%COMPUTERNAME%")
Msgbox "Le nom de l’ordinateur est " & CompName


Proposer un script

Notre avis :

Votre avis :

Réactions :
0

Votants :
2

Visites :
11169

1
2
3
4
5

Script Suivant :

Rapport de la machine



Retrouvez ci-dessous les autres sections du Laboratoire Microsoft

Définitions

Accès direct aux définitions :
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Effectuez une recherche dans les définitions :