Diable user accross multiple domains

Discussion in 'Scripting' started by bullwhip_griffin, Mar 28, 2007.

  1. I work for a application hosting company in which each customer gets their
    own domain. We do all the hands on managment of the servers so we have users
    such as our old admin, who has a useraccount in each domain. My question and
    keep in mind that I'm very new to scripting, is that if I have 30 + domains,
    and I want to push a script to run locally on the domain, but I don't want to
    edit each script with the FQDN, how would I word a script to disable the
    useraccoun in each domain? I know in VBscript, using the "." means local
    machine, but is there some sort of language in VBscript that uses the default
    domain? Also, the user I need to disable never really followed any
    particular format, so the useraccount won't show up in the same OU structure
    from domain to domain.
     
    bullwhip_griffin, Mar 28, 2007
    #1
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.