Jump to content
Sign in to follow this  
averagecdn

Check If Users Exists

Recommended Posts

averagecdn

I need to write a script that will check and see if a user exists and if that user does not exist then I need to create an account on the local machine and add that user to local administrators group.

I know how to create the account and add it from Dos but not scripting it.

Any help is greatly appreciated.

PLEASE CLOSE THIS THREAD IT WAS ACCIDENTALLY CREATED.

Edited by averagecdn

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.