Add_UserAccount

Add a user account to AD or a MemberServer / Workstation

Add_UserAccount

This component will add a user account to either AD or a Member Server or Workstation. Fill in the Users name, which naming convention to use, and select if you wish to create an AD user or local user. You can select between a random string password, or a passphrase.

Fill in the required fields:

    • FirstName – The users First Name

    • LastName – The Users Last Name

    • Groups – a comma seperated list of groups to which the user should be added

    • Select Account Type – AD or Local

    • Select Password Type – Random String or PassPhrase

    • Site Level Variable for EmailDomain is used for AD accounts. This is added to the username to generate the email address and User Principal Name.

The script first checks if the device its running on is an AD server or not. It then checks if you selected to create an AD account or local account. Errors out if they dont match. It then creates the user account and if present, loops through the groups adding the user to each of them.

Level
Name
Value
Notes
component
FirstName
First Name of the new user
component
LastName
Last Name of the new user
component
PasswordType
Random String
Selection between “Random String” and “PassPhrase”
component
AccountType
AD Account
Selection between “AD Account” and “Local Account”
component
Groups
Remote Desktop Users, Accounting
Comma separated list of groups to which the user should be added
component
Convention
First Initial Last Name [juser]
Select the naming convention to use
Site
EmailDomain
Email domain for the client. (Dont include @)

If this component downloads any external files other then grabbing the script from our repository, they will be listed here so you can do your own due diligence if needed.

Filename
URL
Path
Notes
No files downloaded in this component

11/17/2022 – Initial Release

GET IN TOUCH