IT Knowledge Base

User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
active_directory [2018/04/09 09:56] external edit
active_directory [2018/07/02 12:33] (current)
Dan Mundy [User and Group Management]
Line 25: Line 25:
   * [[Find all users with password never expires]]   * [[Find all users with password never expires]]
   * [[Find inactive user accounts]]   * [[Find inactive user accounts]]
 +  * Find members of a group and their email address:<​code>​Get-ADGroupMember -Identity "​ABC"​ | where {$_.objectclass -like "​User"​} | foreach {get-aduser -Identity $_.distinguishedname -Properties * | select Name,​Emailaddress}</​code>​
active_directory.txt · Last modified: 2018/07/02 12:33 by Dan Mundy