I am looking for an SCCM query that will retrieve all users that have not logged in for 90+days. I have been looking at some online resources with no luck so far.

Thanks in advanced
Answer Summary:
0 Comments   [ + ] Show Comments


Please log in to comment

Answer Chosen by the Author

  • Thanks for your response
    I did see those articles, but was wondering if it was something that SCCM could handle instead of AD?
    • sccm is designed to manage and report on the machines not the users so it may not be an easy task thru it. We use MOM to query ad and email the admin staff a weekly report.
      • Could be done by creating a report to pull the user names and cross reference them with last logon user from the devices... but this is not easy and why bother when you can do it with a single line in powershell?
  • Thanks Guys - Was just curious about using SCCM, but I will give the powershell a try
Please log in to comment


Answered 07/30/2015 by: jagadeish
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja