DSMOD

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to remove the password never expires flag from all users within
specific OU's.

I have run the DSQUERY to obtain all the users within the specific OU then
tried to user the DSMOD command and -pwdneverexpires no command.

However, the only OU I seem to be able to use the DSMOD command on is the
Users Container is this right?


Thanks

Pauline
 
Hi Herb

This is the command I am using:

Dsquery user ou=gpo,dc=htb,dc=tote,dc=co,dc=uk | dsmod user
“ou=gpo,dc=htb,dc=tote,dc=co,dc=uk†–pwdneverexpires no

I have three OU's in which I will be wanting to remove the 'password never
expires flag' the above is my test out.

Thanks

Pauline
 
ITLush,

There is really no need to start a second post on this topic!

Cary
 
I posted a second query as one referes to dsmod and the other batches, given
that different professionals have different skill sets!
 
Back
Top