Blog Post

System Center Blog
1 MIN READ

Using SMLets Beta 3 Post #10–Getting a User’s Manager and a Manager’s Reports

System-Center-Team's avatar
System-Center-Team
Former Employee
Feb 15, 2019
First published on TECHNET on Dec 03, 2011

This is a pretty common ask so here is a quick blog post on how to get a User’s manager or a Manager’s reports using SMLets .

A users manger is a relationship between the user object and the manager’s user object.

The Relationship type name is: UserManagesUser.  This is what the data model looks like in the Visio diagram .

To get the user’s manager you do this:

To get a manager’s reports you do this:

Note: I used the same Get-SCSMObject cmdlet as above to set $Omar by passing Omar’s username in the filter criteria.

Updated Mar 11, 2019
Version 4.0
No CommentsBe the first to comment