
229networking witH windows PowersHell
13. Change the directory to the C drive and enter the following command in
PowerShell window. e execution result is shown in Figure 6.30. Enter the
source as mylab.com and the destination as myzone.
./zonecopy.ps1
Task 3: Managing Active Directory with PowerShell
1. Assume that you are still logged on to servera. In Server Manager, click
the Tools menu, and then select Active Directory Module for Windows
PowerShell.
2.
To update users’ description, run the following cmdlets to describe all the
users as the members of the CS department:
Get-ADUser -Filter ‘Name -like “*”’ -SearchBase “ DC = mylab,DC
= com” ...