Re: Checking if a user has logged in and changed his/her password
- From: "Marius Wilberg" <MariusWilberg@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 4 Apr 2005 11:09:03 -0700
Yes thx I know - checked those first, but I didn't find exactly what I was
looking for...
Well guess I will just have to try and get the pieces I need from the
scripts there and make a working one on my own :-) If noone already has one
that is...
It's the way I usually work anyways, so like I said earlier shouldn't be
much of a problem. Was just trying to save some time here. Appreciate the
reply :-)
-Marius
"Corni Bogaarts" wrote:
> Have a look here:
> http://www.microsoft.com/technet/scriptcenter/scripts/ad/users/pwds/default.mspx
>
>
> On Mon, 4 Apr 2005 04:09:02 -0700, "Marius Wilberg"
> <MariusWilberg@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> >I need to make a script that checks all the users in my AD if they have "User
> >must change password at next logon" flags set, and if they do write the
> >user.DisplayName and the user.sAMAccountName into a text file
> >
> >Shouldn't be hard to do, but since I'm rather inexperienced at Windows
> >Server scripting I thought I'd ask first for once :)
> >
> >const pathbase = "OU=Employees,OU=Base OU,DC=Corp,DC=company,DC=com"
> >
> >Under Employees I have CZ, NL, NO, SE and UK OUs which are where the users
> >are located.
> >
> >Cheers
> >
> >-Marius
> >
>
>
.
- References:
- Checking if a user has logged in and changed his/her password
- From: Marius Wilberg
- Re: Checking if a user has logged in and changed his/her password
- From: Corné Bogaarts
- Checking if a user has logged in and changed his/her password
- Prev by Date: Scripting xcopy command to replace Arcserve backup
- Next by Date: Re: What is the point of HIDDEN_WINDOW?
- Previous by thread: Re: Checking if a user has logged in and changed his/her password
- Next by thread: Script Cancel Jobs
- Index(es):
Relevant Pages
|