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
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
At the bottom:
http://www.thomasmaurer.ch/2017/01/nano-server-powershell-package-management/
MSDN article
https://msdn.microsoft.com/en-us/powershell/reference/5.0/packagemanagement/get-package
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
the answer is B.
Get-WindowsOptionalFeature is not a PowerShell command in Nano Server.