script to read disabled and enabled computer for 180 days inactive

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Is there a vb script to read the ActiveDirectory of

* all the computers for 180 days inactive
* show me the computers they are disabled and enabled.
* lastlogon of the computer

it must be in one script


Thank you


.



Relevant Pages

  • Re: Finding users in local admin groups
    ... > Here is a vbscript that you can run against a remote computer that moves ... > *local* users except 'Administrator) from the Administrators group to the ... You should also add to the script logging to a file of the ... > you moved on what computers. ...
    (microsoft.public.win2000.security)
  • Re: Change local administrator password ? through GPO or push script ?
    ... I would like to change the local administrator password of every computers member of my AD domain but I am not sure of the best method. ... Create a vbs script that points to the local computer and then deploy this script by GPO. ... This attribute will permit to know wich admin password is configured for this machine. ...
    (microsoft.public.windows.server.active_directory)
  • Re: Not so Newbie
    ... The script is designed for situations like yours. ... wit 35+ computers and to go to each of those computers to individualy ... Prompt for an executable to run on each remote computer in the group. ... so you know where the deployment failed. ...
    (microsoft.public.windows.server.scripting)
  • Re: Deploy password change ? How to encrypt VBS ? or any other method ?
    ... Assuming a vbscript where the passwords are changed from a remote system, you can also plan to encrypt the communications between that system and the destination Servers. ... Moreover, if it is deployed with Landesk (and so a script), we only need to be sure that the landesk service is up. ... If we deploy it remotely with your script, we will need to verify some other requirements like File and print sharing on (and we know that some computers have disabled it). ...
    (microsoft.public.windows.server.active_directory)
  • Re: Last Logon
    ... > logs on local computers). ... > Can this be done with a script? ... I have a sample VBScript logon script that logs such information ... Another thought is to retrieve the lastLogon attribute, ...
    (microsoft.public.scripting.vbscript)