单项选择题
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
相关考题
-
单项选择题
Your network contains two servers named Server1 and Server2 that run Windows Server 2008 R2. Server1 has Active Directory Federation Services (AD FS) 2.0 installed. Server1 is a member of an AD FS farm. The AD FS farm is configured to use a configuration database that is stored on a separate Microsoft SQL Server. You install AD FS 2.0 on Server2. You need to add Server2 to the existing AD FS farm. What should you do()
A.On Server1, run fsconfig.exe.
B.On Server1, run fsconfigwizard.exe.
C.On Server2, run fsconfig.exe.
D.On Server2, run fsconfigwizard.exe. -
单项选择题
Your network contains two servers named Server1 and Server2 that run Windows Server 2008 R2. Server1 has the Active Directory Federation Services (AD FS) Federation Service role service installed. You plan to deploy AD FS 2.0 on Server2. You need to export the token-signing certificate from Server1, and then import the certificate to Server2. Which format should you use to export the certificate()
A.Base-64 encoded X.509 (.cer)
B.Cryptographic Message Syntax Standard PKCS #7 (.p7b)
C.DER encoded binary X.509 (.cer)
D.Personal Information Exchange PKCS #12 (.pfx) -
单项选择题
Your network contains an Active Directory domain named contoso.com. The domain contains a server named Server1. The Active Directory Federation Services (AD FS) role is installed on Server1. Contoso.com is defined as an account store. A partner company has a Web-based application that uses AD FS authentication. The partner company plans to provide users from contoso.com access to the Web application. You need to configure AD FS on contoso.com to allow contoso.com users to be authenticated by the partner company. What should you create on Server1()
A.a new application
B.a resource partner
C.an account partner
D.an organization claim
