SUPINFO International University

SUPINFO Institute of Information Technology
Laboratoire Microsoft




Assigner un nouveau gérant à une OU

Accueil > Script > active_directory > Assigner un nouveau gérant à une OU

Assigner un nouveau gérant à une OU

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

Description :
Chaque Unité d'organisation (OU) peut être entièrement gérée par une personne qui sera alors responsable de création d'objet à l'intérieur de celle-ci par exemple...
Ce script en VBS vous montre comment affecter une personne en tant que responsable d'une OU :

Script :
Set objContainer = GetObject("LDAP://ou=Nom de l'OU,dc=Nom du domaine,dc=com")
objContainer.Put "managedBy", "cn=Nom de la personne,ou=OU où elle se trouve,dc=Nom du domaine,dc=com"
objContainer.SetInfo

Proposer un script

Notre avis :

Votre avis :

Réactions :
0

Votants :
2

Visites :
10893

1
2
3
4
5




Retrouvez ci-dessous les autres sections du Laboratoire Microsoft