header1   header
header
header Register : : Login header
header
connector   connector
menuleft menuright
submenu   submenu
left
Get All Users Who Have Change Password At Next Logon
Last Post 14 Jul 2010 03:03 AM by James. 5 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages Not Resolved
JamesUser is Offline
Basic Member
Basic Member
Posts:374
Avatar

--
13 Jul 2010 02:39 AM
    Hello,

    I have been looking around the internet and such and I am unable to find anything. I am looking at getting a list of all the users which have the Change Password At Next Logon set to true. Quest does not seem to have a switch for it and I cant find the AD Attribute.

    Does anyone have any suggestions on how I could do this?

    Many Thanks

    James
    Shay LevyUser is Offline
    PowerShell MVP, Admin
    Veteran Member
    Veteran Member
    Posts:1362
    Avatar

    --
    13 Jul 2010 05:11 AM
    Try this:

    Get-QADUser -SizeLimit 0 -LdapFilter '(pwdLastSet=0)'

    Shay Levy
    Windows PowerShell MVP
    http://PowerShay.com
    PowerShell Community Toolbar
    Twitter: @ShayLevy
    JamesUser is Offline
    Basic Member
    Basic Member
    Posts:374
    Avatar

    --
    13 Jul 2010 06:28 AM
    Shay,

    It works like a charm! :)

    Just out of curiosity is there a list of Attributes which relate to the GUI anywhere?

    Many Thanks

    James
    Shay LevyUser is Offline
    PowerShell MVP, Admin
    Veteran Member
    Veteran Member
    Posts:1362
    Avatar

    --
    14 Jul 2010 02:06 AM
    I know there are some articles but I can't find one right now.

    Shay Levy
    Windows PowerShell MVP
    http://PowerShay.com
    PowerShell Community Toolbar
    Twitter: @ShayLevy
    JamesUser is Offline
    Basic Member
    Basic Member
    Posts:374
    Avatar

    --
    14 Jul 2010 02:44 AM
    Ok no worries I will have a google around knowing they exist :) I will post links if I can find any.

    Many Thanks

    James
    JamesUser is Offline
    Basic Member
    Basic Member
    Posts:374
    Avatar

    --
    14 Jul 2010 03:03 AM
    I have found the following which may be useful to people :

    http://www.winzero.ca/Active-Direct...-users.htm

    http://www.computerperformance.co.u...ectory.htm

    Many Thanks

    James
    You are not authorized to post a reply.


    Active Forums 4.3
    right
    footer   footer
    footer Sponsored by Quest Software • SAPIEN Technologies • Compellent • Microsoft Windows Server 2008 R2 footer
    footer   footer