Extract inactive computer accounts with OS details RRS feed

  • Question

  • 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? 

    mardi 26 avril 2011 15:05