What should you run?

You have a server named Server1 that runs Windows Server 2016.
You need to install the DNS Server role on Server1.
What should you run?
A. the dns.exe command
B. the optionalfcaturcs.exe command
C. the Install-Package cmdlet
D. the Enable-WindowsOptionalFeature cmdlet

microsoft-exams

5 thoughts on “What should you run?

  1. Answer is D but Nano related questions are no longer tested.
    Server 2016 the Powershell command would be –
    Install-WindowsFeature DNS -IncludeManagementTools

    1. very simple… dns.exe -InstallEverythingINeed -RunWizardAndConfigureAutomatically -f -restart 😉

      correct answer is D
      Extract the DNS Role on the Nano Server

      Once you have entered the PS session of the nano server, the first step is to unpack the DNS server full role there.

      [10.150.172.205]: PS C:\Users\Administrator\>Enable-WindowsOptionalFeature -Online -FeatureName DNS-Server-Full-Role

      This will extract the DNS server role and its cmdlets. Now you need to import the DNSserver module and get the DNS management cmdlets operational.

      [10.150.172.205]: PS C:\Users\Administrator\>import-module DNSServer
      [10.150.172.205]: PS C:\Users\Administrator\>get-command -Module DNSServer

      At this point you have installed the DNS server role and the DNS management tools on the nano server. You can now perform DNS administrative operations on this DNS server.
      https://blogs.technet.microsoft.com/teamdhcp/2015/12/04/how-to-deploy-windows-dns-server-on-nano-server/

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.