You are on page 1of 7

Lab 1

All activities in this lab must be completed in your virtual lab environment and
using only PowerShell commands

Type all commands under the questions (only provide screenshots when
instructed)

1. On your Sever 2012 R2 Core VM you will open PowerShell from the command
prompt
2. Set a static IP of 192.168.0.50 on the network adapter using PowerShell
(screenshot)
New-netipaddress
Then we will provide the correct interface alias and ip address

3. Install Active Directory Domain Services on your Server with the management
tools (screenshot when complete)
Install-windowsfeature -name AD-Domain-services -includemanagementtools -
computername Prog-BS

4. Before completing the commands for step 5 make sure you use the Whatif
argument and screen shot the results
5. Install a new ADDS forest with the domain name of ad.Contoso.com (screenshot)
Install-addsforest -domainname ad.contoso.com -whatif
6. Set all passwords as: P@ssw0rd
Set-ADaccountpassword
7. Create a standard user in your Active Directory (screenshot)
New-ADuser
8. Set a Windows 10 CLIENT DNS to your new DC. (screenshot)
Set-dnsclientserverAddress -interfaceindex 7 -serveraddress 192.168.0.50
9. Join a Windows 10 CLIENT to the domain using the account you just created.
(screenshot)
Add-computer -domainname ad.contoso.com -credential AD\administrator
10. Sign out

/20

You might also like