I am looking for a script or shell commandlet to extract all inactive computer account in AD with OS details.
Right now I have the DS query : dsquery computer domainroot -stalepwd 180 -limit 0 > ComputerAccounts+180.txt , This will give me all inactive accounts
But how can I extract the OS detail also with this?
Ani