none
Master account management script

    Question

  •  

    Does anyone have a script to go through every workstation in a domain and list all local accounts and local groups & group members on ALL workstations, and out put it into some form of tabular report perhaps in excel? Perhaps with “account status” type information as well, i.e. similar to that which you’d get from a NET USER command where you’ve got fields such as:

    • Account active
    • Account expires
    • Password last set
    • Password expires
    • Password changeable
    • Password required
    • User may change password

    i.e.

    Users>

    Machine name V

    -------------------------------------------------------------------------------------------------------

    PC12345 Administrator, Admin, Guest

    PC12346 Administrator, Dave, Guest

    PC1234567 Administrator, Dave2, Guest

    Monday, February 20, 2012 4:14 PM

Answers