In PowerShell ISE create a script. Use the text file “its3410Users.txt” (found on Canvas) and import the...

70.2K

Verified Solution

Question

Programming

In PowerShell ISE create a script.

Use the text file “its3410Users.txt” (found on Canvas) andimport the users into your domain controller. The user file has afirst name, last name, and department. Using this information,create users with the following specifications:

  • Username will be first name.last name
  • User Principal Name will be first name.last[email protected]
  • The department signifies the OU that the user will be placedinto
    • If the department does not exist, create it
  • Fill in the first name, last name, and display name fields inthe user record
  • Force the user to change the password on logon
  • Have the account enabled
  • Default password for all users will be “Ch@nge123Me!”

Answer & Explanation Solved by verified expert
4.5 Ratings (696 Votes)
I have used powershell 20 datas GetContent Path C its3410Userstxt passwrd Chnge123Me foreach data in datas firstname datafirstname lastname    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students