The problem
Every Service Desk ticket starts with the same question: "which workstation does this user have?". The answer lives in two different systems.
- SCCM — query SMS_UserMachineRelationship — assuming you remember the WMI namespace and the WQL syntax.
- Active Directory — check the mail and managedBy attributes and reconcile by hand.
Two queries, two syntaxes, two results to merge. Or you spend 2 seconds in this tool.