Which tool or tools should you use?

Your network contains an Active Directory domain named contoso.com.
Your company hires 500 temporary employees for the summer.
The human resources department gives you a Microsoft Excel document that contains a list of the temporary
employees.
You need to automate the creation of user accounts for the 500 temporary employees.
Which tool or tools should you use?

Your network contains an Active Directory domain named contoso.com.
Your company hires 500 temporary employees for the summer.
The human resources department gives you a Microsoft Excel document that contains a list of the temporary
employees.
You need to automate the creation of user accounts for the 500 temporary employees.
Which tool or tools should you use?

A.
The Set-ADUsercmdlet and the Add-Member cmdlet

B.
The Import-CSV cmdlet and the New-ADUsercmdlet

C.
ADSI Edit

D.
Active Directory Users and Computers



Leave a Reply 1

Your email address will not be published. Required fields are marked *


MGJG

MGJG

Explain:

Use the Import-CSV cmdlet with the New-ADUser cmdlet to create multiple Active Directory user objects. To do this, use the Import-CSV cmdlet to create the custom objects from a comma-separated value (CSV) file that contains a list of object properties. Then pass these objects through the pipeline to the New-ADUser cmdlet to create the user objects.

New-ADUser [-Name] [-AccountExpirationDate ] [-AccountNotDelegated ] [-AccountPassword ] [-AllowReversiblePasswordEncryption ] [-AuthType { | }] [-CannotChangePassword ] [-Certificates ] [-ChangePasswordAtLogon ] [-City ] [-Company ] [-Country ] [-Credential ] [-Department ] [-Description ] [-DisplayName ] [-Division ] [-EmailAddress ] [-EmployeeID ] [-EmployeeNumber ] [-Enabled ] [-Fax ] [-GivenName ] [-HomeDirectory ] [-HomeDrive ] [-HomePage ] [-HomePhone ] [-Initials ] [-Instance ] [-LogonWorkstations ] [-Manager ] [-MobilePhone ] [-Office ] [-OfficePhone ] [-Organization ] [-OtherAttributes ] [-OtherName ] [-PassThru ] [-PasswordNeverExpires ] [-PasswordNotRequired ] [-Path ] [-POBox ] [-PostalCode ] [-ProfilePath ] [-SamAccountName ] [-ScriptPath ] [-Server ] [-ServicePrincipalNames ] [-SmartcardLogonRequired ] [-State ] [-StreetAddress ] [-Surname ] [-Title ] [-TrustedForDelegation ] [-Type ] [-UserPrincipalName ] [-Confirm] [-WhatIf] []

http://technet.microsoft.com/en-us/library/ee617253.aspx
http://social.technet.microsoft.com/Forums/scriptcenter/en-US/08cb90d5-9a6b-4645-a3ea-5b113da1b053/using-newaduser-with-and-imported-csv?forum=ITCG