Hello Everyone
I am a real beginner at VBS but I have come up with the following script:
Const ADS_UF_ACCOUNTDISABLE = 2
Set objOU = GetObject("LDAP://ou=blah,ou=blah,ou=blah,ou=Site,ou=mainOU,dc=domain,dc=NET")
For Each objUser In objOU
If objUser.class="user" then
objUser.AccountDisabled...