La Référence Absolue sur les Technologies Microsoft




Afficher le nom du site auquel vous appartenez !

Accueil > Script > active_directory > Afficher le nom du site auquel vous appartenez !

Afficher le nom du site auquel vous appartenez !

Par Joachim GOMARD, LABORATOIRE SUPINFO DES TECHNOLOGIES MICROSOFT
Publiée le 21/10/2004 vers 20h.

Description :
Vous avez toujours voulu savoir à quel site vous appartenez dans votre domaine. Et bien ce script VBS permet de vous renvoyer le nom du site auquel votre machine appartient :

Script :
Set objADSysInfo = CreateObject("ADSystemInfo")
WScript.Echo "Current site name: " & objADSysInfo.SiteName


Proposer un script

Notre avis :

Votre avis :

Réactions :
0

Votants :
2

Visites :
13143

1
2
3
4
5

Script Suivant :

Renommer un Site



Retrouvez ci-dessous les autres sections du Laboratoire Microsoft