Categories
Welcome Center
Education & Development
Cyber Security
Virtualization
General
Certification Preparation
Project Management
Posts
Groups
Training Resources
Infosec
IT & Security Bootcamps
Practice Exams
Security Awareness Training
About Us
Home
General
Off-Topic
dynamic distribution lists.
DevilWAH
Any one play with these much?
Say I have 3 users.
UserA - Joe.blogs- managed by Joe
UserB - Joe Simon - managed by tony
UserC - Sara Simon - managed by Sara,
I want to create a dynamic list that contain the managers of all staff with the Surname "Simon"
In the case the list would be called "mangers of users with Simon as their surname" and contain the contact details of Tony and Sara (not user B and C)
Any ideas.
PS this is not the exact reason for the list as we use a user account for department and group contacts. So I am actually trying to pull back all "group leaders" who are set as managers for each set of departments in the company.
Find more posts tagged with
Comments
Qord
I've worked a few dynamic lists using custom attributes, but they are all in an O365/Exchange online environment that's not really tied to our AD. This seems a little complex based on what I've seen. You might be better off using powershell to make this happen. What's your desired output look like? Just a list of names for each department? And does all the info you'd need live in AD?
DevilWAH
Hi,
OK so here is a filter using get-aduser
Get-ADUser -filter {employeetype -like "
Group"} -Properties * | select Manager}
This returns a list of all the managers of any users that have the employeetype of "Group"
So this is the list I want as a dynamic Distribution List.
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Best Of