jones.967 Posted April 28, 2014 Report post Posted April 28, 2014 Trying to make a collection of "all systems that have checked in with AD in the last 90 days" and I am not having much luck. I think I need to query on the pwdLastSet AD attribute but I can not figure out how best to do it. Thank Quote Share this post Link to post Share on other sites More sharing options...
0 Peter van der Woude Posted April 28, 2014 Report post Posted April 28, 2014 What's your goal? Depending on that, it might even be easier to solve by not discovering them (via the properties of the system discovery). 1 Quote Share this post Link to post Share on other sites More sharing options...
0 GarthMJ Posted April 28, 2014 Report post Posted April 28, 2014 That attribute is not collected by default, so you will not be able to create a collection on it. Why question is why do you want to do this? 1 Quote Share this post Link to post Share on other sites More sharing options...
0 jones.967 Posted April 29, 2014 Report post Posted April 29, 2014 I want to create a collection of all my active systems with or without the SCCM client on them. Not discovering old systems might be what I am looking for, I'll go look at that. I am sure I missed some easy way to do this. Thanks! Quote Share this post Link to post Share on other sites More sharing options...
0 jones.967 Posted April 29, 2014 Report post Posted April 29, 2014 Yep. I did not have the check boxes marked in Active Directory System Discovery Properties under the Option tab to prevent it from discovering everything. Thanks! Quote Share this post Link to post Share on other sites More sharing options...
0 GarthMJ Posted April 29, 2014 Report post Posted April 29, 2014 I'm curious, why you wouldn't do this with AD directly? Why add CM07/CM12 into the mix? Quote Share this post Link to post Share on other sites More sharing options...
0 senseiTX Posted July 25, 2014 Report post Posted July 25, 2014 I've always done this directly in AD using this Move Old Computers script as a base to start from. This script moves the machines to an OU that AD System Group Discovery doesn't discover. Quote Share this post Link to post Share on other sites More sharing options...
Trying to make a collection of "all systems that have checked in with AD in the last 90 days" and I am not having much luck.
I think I need to query on the pwdLastSet AD attribute but I can not figure out how best to do it.
Thank
Share this post
Link to post
Share on other sites