Which cmdlet should you use to identify whether the DNS…

You have a Nano Server named Nano1. Which cmdlet should you use to identify whether the DNS
Server role is installed on Nano1?

You have a Nano Server named Nano1. Which cmdlet should you use to identify whether the DNS
Server role is installed on Nano1?

A.
Find-NanoServerPackage

B.
Get-Package

C.
Find-Package

D.
Get-Windows Optional Feature



Leave a Reply 3

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


Remco

Remco

I think it’s D
Get-Package shows available packages, this means you can check wether the DNS role is available for installation.
If you want to install the role/feature you must use install-WindowsOptionalFeature. And to check if it is installed Get-WindowsOptionalFeature

Larry

Larry

the answer is B.
Get-WindowsOptionalFeature is not a PowerShell command in Nano Server.