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 : 9881
|