PrepAway - Latest Free Exam Questions & Answers

Which two cmdlets should you run?

Your network contains an Active Directory domain named contoso.com. The domain contains a
server named Server1 that runs a Server Core installation of Windows Server 2012 R2.
You need to deploy a certification authority (CA) to Server1. The CA must support the autoenrollment of certificates.
Which two cmdlets should you run? (Each correct answer presents part of the solution. Choose
two.)

PrepAway - Latest Free Exam Questions & Answers

A.
Add-CAAuthoritylnformationAccess

B.
Install-AdcsCertificationAuthority

C.
Add-WindowsFeature

D.
Install-AdcsOnlineResponder

E.
Install-AdcsWebEnrollment

Explanation:
B)
The Install-AdcsCertificationAuthority cmdlet performs installation and configuration of the AD CS
CA role service. It can be used to install a root CA.
Example:
Install-AdcsCertificationAuthority –CAType StandaloneRootCA –CACommonName “ContosoRootCA”
–KeyLength 2048 –HashAlgorithm SHA1 –CryptoProviderName “RSA#Microsoft Software Key
Storage Provider”
E: The Install-AdcsWebEnrollment cmdlet performs initial installation and configuration of the
Certification Authority Web Enrollment role service.
Note: Prior to the availability of Certificate Enrollment Web Services, AD CS required that client
computers configured for certificate auto-enrollment be connected directly to the corporate
network. Certificate Enrollment Web Services allows organizations to enable AD CS using a
perimeter network. This allows users and computers outside the corporate network to enroll for
certificates.

Certificate Enrollment web service Deploying AD CS Using Windows PowerShell

8 Comments on “Which two cmdlets should you run?

  1. Joujma says:

    The explanation posted confirms that we need to install binaries first ADD-WindowsFeature then to configure the role Install-AdcsCertificationAuthority

    Correct ans is B,C




    2



    0
  2. hippo says:

    Indeed, everything points towards installing the binaries first, then setting up the ADCS services. As pet the auto-enrollment – there’s no PS command dealing with that amongst the answers.

    Ref:
    https://technet.microsoft.com/en-us/itpro/powershell/windows/pki/set-certificateautoenrollmentpolicy – if you’re doing it over PS
    http://www.vkernel.ro/blog/set-up-automatic-certificate-enrollment-autoenroll – if you’re doing it over GPO

    Having said that, I’d go with B&C too.




    1



    0
  3. heh says:

    B and C confirmed in lab.

    Installed a server core installation of Server 2012 R2 and tried to do B first using the example in the explanation:

    Install-AdcsCertificationAuthority –CAType StandaloneRootCA CACommonName “ContosoRootCA” –KeyLength 2048 –HashAlgorithm SHA1 -CryptoProviderName “RSA#Microsoft Software Key Storage Provider”

    ALMOST IMMEDIATELY… it errored out stating that “Install-ADCSCer…” is not a valid command.

    I then did “Add-WindowsFeature ADCS-Cert-Authority -IncludeManagementTools” which succeeded without problem. so C is a must-have.

    I then scrolled up through my history of commands back to the Install-ADCSCertificationAuthority rather than type it in again to ensure that I’m using the same exact command as I typed before. This time I got a syntax error in one of my switches, didn’t bother to check what. But this confirms that powershell in server core now recognizes this Install command after adding ACDS.

    When I did just Install-ADCSCertificationAuthority without any switches, it then went to “questionnaire” mode.

    B & C are confirmed from my lab test!




    8



    0

Leave a Reply