Question
Absence de résultat sur une propiéte AD
- Arnaud Petitjean
-
- Hors Ligne
- Modérateur
-
il y a 17 ans 6 mois #2779
par Arnaud Petitjean
MVP PowerShell et créateur de ce magnifique forum
Auteur de 6 livres PowerShell aux éditions ENI
Fondateur de la société Start-Scripting
Besoin d'une formation PowerShell ?
Réponse de Arnaud Petitjean sur le sujet Re:Absence de résultat sur une propiéte AD
Salut Chris,
- Quel est l'OS de ton serveur ?
- Quelle version de Service Pack ?
- Mode d'Active Directory (mode mixte ou non) ?
Es-tu admin lorsque tu lances ton script ?
Arnaud
- Quel est l'OS de ton serveur ?
- Quelle version de Service Pack ?
- Mode d'Active Directory (mode mixte ou non) ?
Es-tu admin lorsque tu lances ton script ?
Arnaud
MVP PowerShell et créateur de ce magnifique forum
Auteur de 6 livres PowerShell aux éditions ENI
Fondateur de la société Start-Scripting
Besoin d'une formation PowerShell ?
Connexion ou Créer un compte pour participer à la conversation.
- maycry
- Auteur du sujet
- Hors Ligne
- Membre premium
-
Réduire
Plus d'informations
- Messages : 119
- Remerciements reçus 0
il y a 17 ans 6 mois #2783
par maycry
Réponse de maycry sur le sujet Re:Absence de résultat sur une propiéte AD
2003 sp2
XP pro sp3
exécuter à partir d'exchange management shell en admin du domaine c'est biazzare ca
Je n'ai pas la propriété passwordlastchanged enfait
même en me servant de cet article mow001.blogspot.com/2006/07/powershell-a...irectory-part-4.html
TypeName: System.DirectoryServices.DirectoryEntry
Name MemberType Definition
----
accountExpires Property System.DirectoryServices.PropertyV...
altRecipient Property System.DirectoryServices.PropertyV...
badPasswordTime Property System.DirectoryServices.PropertyV...
badPwdCount Property System.DirectoryServices.PropertyV...
cn Property System.DirectoryServices.PropertyV...
codePage Property System.DirectoryServices.PropertyV...
countryCode Property System.DirectoryServices.PropertyV...
deliverAndRedirect Property System.DirectoryServices.PropertyV...
displayName Property System.DirectoryServices.PropertyV...
distinguishedName Property System.DirectoryServices.PropertyV...
dSCorePropagationData Property System.DirectoryServices.PropertyV...
givenName Property System.DirectoryServices.PropertyV...
homeMDB Property System.DirectoryServices.PropertyV...
homeMTA Property System.DirectoryServices.PropertyV...
instanceType Property System.DirectoryServices.PropertyV...
lastLogoff Property System.DirectoryServices.PropertyV...
lastLogon Property System.DirectoryServices.PropertyV...
lastLogonTimestamp Property System.DirectoryServices.PropertyV...
legacyExchangeDN Property System.DirectoryServices.PropertyV...
lockoutTime Property System.DirectoryServices.PropertyV...
logonCount Property System.DirectoryServices.PropertyV...
mail Property System.DirectoryServices.PropertyV...
mailNickname Property System.DirectoryServices.PropertyV...
mDBUseDefaults Property System.DirectoryServices.PropertyV...
msExchHideFromAddressLists Property System.DirectoryServices.PropertyV...
msExchHomeServerName Property System.DirectoryServices.PropertyV...
msExchMailboxGuid Property System.DirectoryServices.PropertyV...
msExchMailboxSecurityDescriptor Property System.DirectoryServices.PropertyV...
msExchPoliciesIncluded Property System.DirectoryServices.PropertyV...
msExchRecipientDisplayType Property System.DirectoryServices.PropertyV...
msExchRecipientTypeDetails Property System.DirectoryServices.PropertyV...
msExchUserAccountControl Property System.DirectoryServices.PropertyV...
msExchUserCulture Property System.DirectoryServices.PropertyV...
msExchVersion Property System.DirectoryServices.PropertyV...
name Property System.DirectoryServices.PropertyV...
nTSecurityDescriptor Property System.DirectoryServices.PropertyV...
objectCategory Property System.DirectoryServices.PropertyV...
objectClass Property System.DirectoryServices.PropertyV...
objectGUID Property System.DirectoryServices.PropertyV...
objectSid Property System.DirectoryServices.PropertyV...
primaryGroupID Property System.DirectoryServices.PropertyV...
proxyAddresses Property System.DirectoryServices.PropertyV...
pwdLastSet Property System.DirectoryServices.PropertyV...
sAMAccountName Property System.DirectoryServices.PropertyV...
sAMAccountType Property System.DirectoryServices.PropertyV...
userAccountControl Property System.DirectoryServices.PropertyV...
userPrincipalName Property System.DirectoryServices.PropertyV...
uSNChanged Property System.DirectoryServices.PropertyV...
uSNCreated Property System.DirectoryServices.PropertyV...
whenChanged Property System.DirectoryServices.PropertyV...
whenCreated Property System.DirectoryServices.PropertyV...<br><br>Message édité par: chris, à: 9/09/08 14:28
XP pro sp3
exécuter à partir d'exchange management shell en admin du domaine c'est biazzare ca
Je n'ai pas la propriété passwordlastchanged enfait
même en me servant de cet article mow001.blogspot.com/2006/07/powershell-a...irectory-part-4.html
TypeName: System.DirectoryServices.DirectoryEntry
Name MemberType Definition
----
accountExpires Property System.DirectoryServices.PropertyV...
altRecipient Property System.DirectoryServices.PropertyV...
badPasswordTime Property System.DirectoryServices.PropertyV...
badPwdCount Property System.DirectoryServices.PropertyV...
cn Property System.DirectoryServices.PropertyV...
codePage Property System.DirectoryServices.PropertyV...
countryCode Property System.DirectoryServices.PropertyV...
deliverAndRedirect Property System.DirectoryServices.PropertyV...
displayName Property System.DirectoryServices.PropertyV...
distinguishedName Property System.DirectoryServices.PropertyV...
dSCorePropagationData Property System.DirectoryServices.PropertyV...
givenName Property System.DirectoryServices.PropertyV...
homeMDB Property System.DirectoryServices.PropertyV...
homeMTA Property System.DirectoryServices.PropertyV...
instanceType Property System.DirectoryServices.PropertyV...
lastLogoff Property System.DirectoryServices.PropertyV...
lastLogon Property System.DirectoryServices.PropertyV...
lastLogonTimestamp Property System.DirectoryServices.PropertyV...
legacyExchangeDN Property System.DirectoryServices.PropertyV...
lockoutTime Property System.DirectoryServices.PropertyV...
logonCount Property System.DirectoryServices.PropertyV...
mail Property System.DirectoryServices.PropertyV...
mailNickname Property System.DirectoryServices.PropertyV...
mDBUseDefaults Property System.DirectoryServices.PropertyV...
msExchHideFromAddressLists Property System.DirectoryServices.PropertyV...
msExchHomeServerName Property System.DirectoryServices.PropertyV...
msExchMailboxGuid Property System.DirectoryServices.PropertyV...
msExchMailboxSecurityDescriptor Property System.DirectoryServices.PropertyV...
msExchPoliciesIncluded Property System.DirectoryServices.PropertyV...
msExchRecipientDisplayType Property System.DirectoryServices.PropertyV...
msExchRecipientTypeDetails Property System.DirectoryServices.PropertyV...
msExchUserAccountControl Property System.DirectoryServices.PropertyV...
msExchUserCulture Property System.DirectoryServices.PropertyV...
msExchVersion Property System.DirectoryServices.PropertyV...
name Property System.DirectoryServices.PropertyV...
nTSecurityDescriptor Property System.DirectoryServices.PropertyV...
objectCategory Property System.DirectoryServices.PropertyV...
objectClass Property System.DirectoryServices.PropertyV...
objectGUID Property System.DirectoryServices.PropertyV...
objectSid Property System.DirectoryServices.PropertyV...
primaryGroupID Property System.DirectoryServices.PropertyV...
proxyAddresses Property System.DirectoryServices.PropertyV...
pwdLastSet Property System.DirectoryServices.PropertyV...
sAMAccountName Property System.DirectoryServices.PropertyV...
sAMAccountType Property System.DirectoryServices.PropertyV...
userAccountControl Property System.DirectoryServices.PropertyV...
userPrincipalName Property System.DirectoryServices.PropertyV...
uSNChanged Property System.DirectoryServices.PropertyV...
uSNCreated Property System.DirectoryServices.PropertyV...
whenChanged Property System.DirectoryServices.PropertyV...
whenCreated Property System.DirectoryServices.PropertyV...<br><br>Message édité par: chris, à: 9/09/08 14:28
Connexion ou Créer un compte pour participer à la conversation.
- rodriguez
- Hors Ligne
- Membre senior
-
Réduire
Plus d'informations
- Messages : 61
- Remerciements reçus 0
il y a 17 ans 6 mois #2791
par rodriguez
Réponse de rodriguez sur le sujet Re:Absence de résultat sur une propiéte AD
Hello,
Pour que la propriété \"PasswordLastChanged\" te retourne une valeur il faut que tu installe sur ton serveur:
Powershell V2 (CTP2).
La release 1 n'a pas cette propriété.
Et je te conseil aussi de faire ton script avec PowerGui.
Bon Script.
Pour que la propriété \"PasswordLastChanged\" te retourne une valeur il faut que tu installe sur ton serveur:
Powershell V2 (CTP2).
La release 1 n'a pas cette propriété.
Et je te conseil aussi de faire ton script avec PowerGui.
Bon Script.
Connexion ou Créer un compte pour participer à la conversation.
- Laurent Dardenne
- Hors Ligne
- Modérateur
-
Réduire
Plus d'informations
- Messages : 6311
- Remerciements reçus 68
il y a 17 ans 6 mois #2794
par Laurent Dardenne
Tutoriels PowerShell
Réponse de Laurent Dardenne sur le sujet Re:Absence de résultat sur une propiéte AD
noxydius écrit:
N'est-il pas possible de l'obtenir via le framework .NET ?La release 1 n'a pas cette propriété.
Tutoriels PowerShell
Connexion ou Créer un compte pour participer à la conversation.
- rodriguez
- Hors Ligne
- Membre senior
-
Réduire
Plus d'informations
- Messages : 61
- Remerciements reçus 0
il y a 17 ans 6 mois #2800
par rodriguez
Réponse de rodriguez sur le sujet Re:Absence de résultat sur une propiéte AD
Laurent Dardenne écrit:
je sais pas, pas testé.?
noxydius écrit:
N'est-il pas possible de l'obtenir via le framework .NET ?La release 1 n'a pas cette propriété.
je sais pas, pas testé.?
Connexion ou Créer un compte pour participer à la conversation.
- Laurent Dardenne
- Hors Ligne
- Modérateur
-
Réduire
Plus d'informations
- Messages : 6311
- Remerciements reçus 68
il y a 17 ans 6 mois #2802
par Laurent Dardenne
Tutoriels PowerShell
Réponse de Laurent Dardenne sur le sujet Re:Absence de résultat sur une propiéte AD
chris écrit:
[code:1]
$this.InvokeGet('PasswordLastChanged')
[/code:1]
Ce qui confirme qu'elle n'existe pas nativement, comme de nombreuses autres infos je suppose, mais reste accessible par code.
Comme ici :
mow001.blogspot.com/2006/08/powershell-a...irectory-part-8.html
Pourtant l'auteur référence un fichier de type, utilisant l'appel suivantJe n'ai pas la propriété passwordlastchanged en fait même en me servant de cet article
[code:1]
$this.InvokeGet('PasswordLastChanged')
[/code:1]
Ce qui confirme qu'elle n'existe pas nativement, comme de nombreuses autres infos je suppose, mais reste accessible par code.
Comme ici :
mow001.blogspot.com/2006/08/powershell-a...irectory-part-8.html
Tutoriels PowerShell
Connexion ou Créer un compte pour participer à la conversation.
Temps de génération de la page : 0.110 secondes
- Vous êtes ici :
-
Accueil
-
forum
-
PowerShell
-
Entraide pour les débutants
- Absence de résultat sur une propiéte AD