Which cmdlet should you add to the script?
Your network contains an Active Directory forest.
You set the Windows PowerShell execution policy to allow unsigned scripts on a domain
controller in the network.
You create a Windows PowerShell script named new-users.ps1 that contains the following
lines:
new-aduser user1
new-aduser user2
new-aduser user3
new-aduser user4
new-aduser user5
On the domain controller, you double-click the script and the script runs. You discover that
the script fails to create the user accounts.
You need to ensure that the script creates the user accounts. Which cmdlet should you add
to the script?
Which tool should you use?
Your network contains an Active Directory forest. The forest schema contains a custom
attribute for user objects.
You need to modify the custom attribute value of 500 user accounts.
Which tool should you use?
You need to give the human resources department a file that contains the last logon time and the custom attrib
Your network contains an Active Directory forest. The forest schema contains a custom
attribute for user objects.
You need to give the human resources department a file that contains the last logon time
and the custom attribute values for each user in the forest.
What should you use?
Which script should you run?
You have a Windows PowerShell script that contains the following code:
import-csv Accounts.csv | Foreach {New-ADUser -Name $_.Name -Enabled $true –
AccountPassword $_. password}
When you run the script, you receive an error message indicating that the format of the
password is incorrect.The script fails.
You need to run a script that successfully creates the user accounts by using the password
contained in accounts.csv.
Which script should you run?
You need to resolve the issue that causes Application1 to fail
Your network contains an Active Directory forest. The functional level of the forest is
Windows Server 2008 R2.
Your company’s corporate security policy states that the password for each user account
must be changed at least every 45 days.
You have a user account named Service1. Service1 is used by a network application named
Application1.
Every 45 days, Application1 fails.
After resetting the password for Service1, Application1 runs properly. You need to resolve
the issue that causes Application1 to fail. The solution must adhere to the corporate security
policy.
What should you do?
You need to modify the UPN suffix of all users
Your network contains an Active Directory forest.
You add an additional user principal name (UPN) suffix to the forest.
You need to modify the UPN suffix of all users. You want to achieve this goal by using the
minimum amount of administrative effort.
What should you use?
Which Group Policy settings should you configure?
Your network contains a single Active Directory domain. All client computers run Windows
Vista Service Pack 2 (SP2).
You need to prevent all users from running an application named App1.exe.
Which Group Policy settings should you configure?
You need to ensure that all client computers can apply Group Policy preferences
Your network contains an Active Directory domain. All domain controllers run Windows
Server 2008 R2. Client computers run either Windows XP Service Pack 3 (SP3) or Windows
Vista.
You need to ensure that all client computers can apply Group Policy preferences.
What should you do?
You need to audit user access to the administrative shares on the client computers
Your network contains an Active Directory domain. All domain controllers run Windows
Server 2008 R2. Client computers run either Windows 7 or Windows Vista Service Pack 2
(SP2).
You need to audit user access to the administrative shares on the client computers.
What should you do?
You need to create a central store for the Group Policy Administrative templates
Your network contains an Active Directory domain named contoso.com.
You need to create a central store for the Group Policy Administrative templates.
What should you do?