I need two scripts
1. to get a lsit of all the computers that have not contacted any of our domain controllers for more than 90. it should create a csv or a txt file with the list of computers. all our client computers are in one ou called "computers OU" so in the list i want to make sure servers are not included thats why i want to get the list form this OU only
2. i need a script to move all the computers iin the list generated by the first script to move the computers to a specific ou called "stale computers" as we can take a backup of AD before we delete the computers .
the process we will follow is generate the list using script 1. second we will pingall the computers to make sure they are not active. then we will mve the computers to the ou using the second script. and after taking a backup we will delete the computers. need help