Thursday, November 15, 2012 6:56 AM
In my company we are using Windows Server 2008 R2.
In these days we are trying to find out how many computers, we have in all our departments.
In Active directory Under "Computers" folder is there any possible to make a option that makes it possible to see which computers that's inactive, so we dont count them?
I already know i can make a querry to find out which computers that hasn't been active for a while, but that's not a solution for my company.
so im asking you guys, about is there any possible option in Active Directory to show under "computer" folder whichs computers thats inactive?
I would be grateful for any responses.
NB: Sorry for wrong english
Friday, November 16, 2012 3:41 AM
You need to use a script for that. You can check in your AD MMC, but it's long. It's in the extended section when you turn advanced feature at on. It's the lastlogon value you want to check.
Some script exemple;
Friday, November 16, 2012 10:00 AMModerator
As far as I know, we could query inactive computer accounts by using Dsquery command and script. For details, please refer to the following articles.
List Inactive Computer Accounts in Active Directory
List Inactive Computer Objects (without 3. party module)
In addition, we could also find inactive computers using PowerShell.
Finding Inactive or Unused Computers
If we have some script and PowerShell related issue, we could ask in the script and PowerShell forum.
The Official Scripting Guys Forum!
- Marked As Answer by Andy QiMicrosoft Contingent Staff, Moderator Wednesday, November 28, 2012 10:59 AM