Running a command on all computers within an AD OU
The below VBS script will run a command on all computers in the Active Directory OU defined by LDAPPath = The script depends on the Windows Sysinternals tool PsExec, you will need to download and exact PsExec and place in …