In these exercises, you will search for users in a specific OU that do not have a description attribute populated. You will create a script that updates this value. In addition, you will change the password for users in Active Directory.
To complete these exercises, you will need access to a Windows server running AD DS. Modify the domain names listed in the exercises to match the name of your domain.
Using the Active Directory module to update Active Directory objects
Open the Windows PowerShell ISE or some other script editor.
Use the Import-Module cmdlet to import the Active Directory module.
Set the $users and $you variables to $null.
$users = ...