单项选择题

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()

A.Import-Module
B.Register-ObjectEvent
C.Set-ADDomain
D.Set-ADUser


您可能感兴趣的试卷

你可能感兴趣的试题

7.多项选择题

Your network contains a single Active Directory domain. The domain contains five read-only  domain controllers (RODCs) and five writable domain controllers. All servers run Windows Server  2008. You plan to install a new RODC that runs Windows Server 2008 R2.    
You need to ensure that you can add the new RODC to the domain. You want to achieve this  goal by using the minimum amount of administrative effort.    
Which two actions should you perform()

A.At the command prompt, run adprep.exe /rodcprep.
B.At the command prompt, run adprep.exe /forestprep.
C.At the command prompt, run adprep.exe /domainprep.
D.From Active Directory Domains and Trusts, raise the functional level of the domain.
E.From Active Directory Users and Computers, pre-stage the RODC computer account.

最新试题

Your network contains an Active Directory domain. All domain controller run Windows Server  2003.    You replace all domain controllers with domain controllers that run Windows Server 2008 R2.    You raise the functional level of the domain to Windows Server 2008 R2.    You need to minimize the amount of SYSVOL replication traffic on the network.    What should you do()

题型:单项选择题

Your network contains a single Active Directory domain named contoso.com.    An administrator accidentally deletes the _msdsc.contoso.com zone.  You recreate the _msdsc.contoso.com zone.    You need to ensure that the _msdsc.contoso.com zone contains all of the required DNS records.    What should you do on each domain controller()

题型:单项选择题

Your network contains three Active Directory forest named Forest1, Forest2, and Forest3. Each  forest contains three domains.  A two-way forest trust exists between Forest1 and Forest2. A two-way forest trust exists between  Forest2 and Forest3.     You need to configure the forest to meet the following requirements    Users in Forest3 must be able to access resources in Forest1.  Users in Forest1 must be able to access resources in Forest3.  The number of trusts must be minimized.    What should you do()

题型:单项选择题

Your network contains an Active Directory domain that has two sites.    You need to identify whether logon scripts are replicated to all domain controllers.    Which folder should you verify()

题型:单项选择题

Your network contains an Active Directory forest. The forest contains an Acitve Directory site for a  remote office. The remote site contains a read-only domain controller (RODC).    You need to configure the RODC to store only the password of users in the remote site.    What should you do()

题型:单项选择题

You create a new Active Directory domain. The functional level of the domain is Windows Server  2003.    The domain contains five domain controllers that run Windows Server 2008 R2.    You need to monitor the replication of the group policy template files.    Which tool should you use()

题型:单项选择题

Your network contains an Active Directory domain controller named DC1. DDC1 runs Windows  Server 2008 R2.  You need to defragment the Active Directory database on DC1. The solution must minimize  downtime on DC1.    What should you do first()

题型:单项选择题

Your network contains an Active Directory domain.  A user named User1 takes a leave of absence for one year.  You need to restrict access to the User1 user account while User1 is away.    What should you do()

题型:单项选择题

Your network contains an Active Directory domain named contoso.com. All domain controllers  and member servers run Windows Server 2008. All client computer run Windows 7.  From a client computer, you create an audit policy by using the Advanced Audit Policy  Configuration settings in the Default Domain Policy Group Policy object (GPO).  You discover that the audit policy is not applied to the member servers.    The audit policy is  applied to the client computers.  You need to ensure that the audit policy is applied to all member servers and all client computers.    What should you do()

题型:单项选择题

Your network contains an Active Directory domain named contoso.com. The domain contains five  domain controllers.You add a logoff script to an existing Group Policy object (GPO). You need to verify that each  domain controller successfully replicates the updated group policy.    Which two objects should you verify on each domain controller()

题型:多项选择题