Scripting Question

SCCM Query

07/30/2015 5393 views
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


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?
    • This content is currently hidden from public view.
      Reason: Spam For more information, visit our FAQ's.
  • Thanks Guys - Was just curious about using SCCM, but I will give the powershell a try

All Answers

Answered 07/30/2015 by: jagadeish
Red Belt

This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ