Jump to content
Sign in to follow this  

Active Directory

Recommended Posts


I'm writting a script that among other things will join computer to domain (using netdom.exe unless there's a better way - in example without having to include netdom.exe in autoit .exe file). As we're using first letter of first name and full surname as for name of computer after a while you gotta look out for already existing accounts in domain. So i would need a way to check in domain if text i enter exists in domain and if variations of it exists too for example: madboy, madboy1,madboy2,madboy3 etc up to 10 max (but i guess that code i can write myself) just need some heads up on how to ask domain for Computer Name if it exits. Later on i will be trying to get from "DOMAIN" as much info as i can get and use it in some way so any ideas for domain info retreiving will be appreciated. I tried to use scriptomatic.au3 but if you choose from menu something else then default value, it crashes for me. thanks.

My little company: Evotec (PL version: Evotec)

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.