Register
: :
Login
Home
News
Forums
Scripts
User Groups
Resources
About
Forums
Search
Members
Unanswered
Active Topics
Forums
>
Using PowerShell
>
Active Directory
Get All Users Who Have Change Password At Next Logon
Last Post 14 Jul 2010 03:03 AM by
James
. 5 Replies.
Sort:
Oldest First
Most Recent First
Prev
Next
You are not authorized to post a reply.
Author
Messages
James
Basic Member
Posts:374
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 Levy
PowerShell MVP, Admin
Veteran Member
Posts:1362
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
James
Basic Member
Posts:374
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 Levy
PowerShell MVP, Admin
Veteran Member
Posts:1362
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
James
Basic Member
Posts:374
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
James
Basic Member
Posts:374
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.
Using PowerShell
--General PowerShell
--Books, Tools, and Videos
--Exchange Server
--Active Directory
--System Center Family
--Non-Microsoft Products
--SharePoint
--SQL Server
--Working with .NET
--Peer Review
--Testing, Testing...
PowerShell Development
--Cmdlet Development
--PSDrive Provider Development
--Hosting the Shell
Looking Ahead
--Using PowerShell v2.0
--Developing for PowerShell v2.0
PowerShellCommunity.org
--Community Announcements and Assistance
--Completely Unrelated
--User Groups
--Community Business
----Suggestion Box
Forums
>
Using PowerShell
>
Active Directory
Active Forums 4.3
Sponsored by Quest Software • SAPIEN Technologies • Compellent • Microsoft Windows Server 2008 R2