Wednesday, October 8, 2014

1. To store the information of employees in a centralized network location, you have created and configured a new server and installed the AD DS role. The newly joined employees need to join in different departments. Each department's employees need to have different access permissions and security settings. Therefore, employees of different departments are organized into different groups. You need to create user accounts for the new employees and assign them to appropriate groups by using command prompt. The following table lists the details to create the user accounts. You have been assigned the task to create the user accounts and groups using command prompt. How will you accomplish the same?



1. Ensure that the Server manager window is open and active.
2. select AD DS in the left pane.
3. Right-click the EBDD_DC1 server under the server name column of the SERVER pane.
4. select the Active Directory Module for windows Power Shell option. the Administrator: Windows Power Shell
   window is displayed.
5. open a new notepad file.
6. type the following code:

     New-ADOrganizationalUnit -Name "IT"
     New-ADOrganizationalUnit -Name "Research"

7. save the file as the OUs.PSI name in the C: drive. Ensure that you select the all files option from the
   save as type drop-down list box.
8. Open a new notepad file.
9. Type the following code:

    New-ADuser -name "April Regan" -SamAccountName "April" -AccountPassword
    (ConvertTo-SecureString "Pa$$w0rd -ASPlainText -Force") Enabled $True -
    PasswordNeverExpires $True -ChangePasswordAtLogon $false new-ADuser -Name "Allie Bellew" -
    SamAccountName "ALLie" -DisplayName "Allie Bellew" -Path "OU=Research, DC=adaatum, DC=com" -
    AccountPassword (ConvertTo-SecureString "Pa$$w0rd" -AsPainText -force) -Enabled $True -
    PasswordNeverExpires $true -ChangePasswordAtLogon $false

10. save the file as the Users.PSL name in the C: drive. Ensure that you select the All files option from the
    save as type drop-down list box.
11. open a new notepad file.
12. save the file as the add_Users_to_Group.PSI name in the C:drive. Ensure that you select the All files option
    from the sale as type drop-down list box.
13. Switch to the Administrator: Windows powerShell window.
14. type set-ExecutionPolicyRemoteSigned, and then press the Enter key.
15. type y, and then press the enter key.
16. type &'C:\ous.PSI', and then press the enter key.

No comments:

Post a Comment