Hello I need help generating the following. Generate a PowerShell script that accepts any number of command-line arguments up to three command line arguments. The arguments passed will be the names of OUs that the script will create, your script should check if an OU with the given name already exists. There should not be any error if there are less than three. This PowerShell script accepts up to three command line arguments. No error thrown if less than three. The OU's based on the arguments and then create 25 users within the correct OU ([arg] user 1, [arg] user 2, etc). Users should be given a password of Password01 and should be enabled. Groups (global+local) should be created (using the command-line arguments) within the correct OU. The users should be added to the correct group. Use your script to create audit users, training users and branch users. Pre-stage a RODC. The passwords of the branch users (created with above PowerShell script) will be the only passwords saved on the RODC. Install the RODC using the pre-stage that you have set up. Run your system information PowerShell Script that you set up in Milestone 1 and save the output. After running that script delete the RODC & save the affected users information to a file to confirm the password resets. Also include the text file containing all the system information.
Hello I need help generating the following. Generate a PowerShell script that accepts any number of command-line arguments up to three command line arguments. The arguments passed will be the names of OUs that the script will create, your script should check if an OU with the given name already exists. There should not be any error if there are less than three. This PowerShell script accepts up to three command line arguments. No error thrown if less than three. The OU's based on the arguments and then create 25 users within the correct OU ([arg] user 1, [arg] user 2, etc). Users should be given a password of Password01 and should be enabled. Groups (global+local) should be created (using the command-line arguments) within the correct OU. The users should be added to the correct group. Use your script to create audit users, training users and branch users. Pre-stage a RODC. The passwords of the branch users (created with above PowerShell script) will be the only passwords saved on the RODC. Install the RODC using the pre-stage that you have set up. Run your system information PowerShell Script that you set up in Milestone 1 and save the output. After running that script delete the RODC & save the affected users information to a file to confirm the password resets. Also include the text file containing all the system information.
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
Hello I need help generating the following. Generate a PowerShell script that accepts any number of command-line arguments up to three command line arguments. The arguments passed will be the names of OUs that the script will create, your script should check if an OU with the given name already exists. There should not be any error if there are less than three. This PowerShell script accepts up to three command line arguments. No error thrown if less than three. The OU's based on the arguments and then create 25 users within the correct OU ([arg] user 1, [arg] user 2, etc). Users should be given a password of Password01 and should be enabled. Groups (global+local) should be created (using the command-line arguments) within the correct OU. The users should be added to the correct group. Use your script to create audit users, training users and branch users. Pre-stage a RODC. The passwords of the branch users (created with above PowerShell script) will be the only passwords saved on the RODC. Install the RODC using the pre-stage that you have set up. Run your system information PowerShell Script that you set up in Milestone 1 and save the output. After running that script delete the RODC & save the affected users information to a file to confirm the password resets. Also include the text file containing all the system information.
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 3 steps
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education