Using DSQuery, or CSVDE to find ACTIVE computer accounts and the OS that is running on the computers
i'm trying find way extract thought going simple piece of information active directory. i need list of computer accounts have been active last 30 days, , need extract os information well.
i'm not scripter, don't know whole lot vb or vb script. in past whenever i've needed extract information ad i've used either csvde or dsquery in conjunction dsget.
i know can extract user accounts have not been active in amount of time, i'm trying opposite, , i'm not sure how, can use dsquery os information using this:
dsquery * -filter (name=computername) -attr operatingsystem
however output this:
operating system
windows server 2003
this doesn't me, i've got lot of computer accounts , makes difficult match output file input file. i tried doing dsquery computer -name computername|dsget computer -operatingsystem
however when that, doesn't recognize operatingsytsem attribute.
if can i'd grateful.
thanks
hi,
according problem description, issue related scripting.
scripting issue, best resource scripting forum.
based on current situation, you’d better submit new question scripting
forum further assistance. in way, issue can resolved
effectively.
the
official scripting guys forum!
http://social.technet.microsoft.com/forums/en/itcg/threads
thanks understanding!
regards,
arthur
li
if
technet subscriptionuser
, have feedback on our support quality, please send feedback here.
arthur li
technet community support
Windows Server > Directory Services
Comments
Post a Comment