Which PowerShell command would you use to create a Nano Server which had the Hyper-V role, clustering, OEM Drivers and antimalware?

For Windows Server 2016, Nano Server is distributed on the physical media, where you will find a NanoServer folder; this contains a .wim image and a subfolder called Packages. It is these package files that you use to add server roles and features to the VHD image, which you then boot to.
Assume that several variables have been configured already, which PowerShell command would you use to create a Nano Server which had the Hyper-V role, clustering, OEM Drivers and antimalware?
A. New-NanoServerImage -MediaPath $mediapath -BasePath $basepath -TargetPath $targetpath ComputerName $computername -OEMDrivers -Clustering – Defender -Compute
B. New-NanoServerImage -MediaPath $mediapath -BasePath $basepath -TargetPath $targetpath – ComputerName $computername -OEMDrivers -Clustering -Storage – EnableRemoteManagementPort
C. New-NanoServerImage -MediaPath $mediapath -BasePath $basepath -TargetPath $targetpath – ComputerName $computername -OEMDrivers -Defender -Containers – EnableRemoteManagementPort
D. New-NanoServerImage -MediaPath $mediapath -BasePath $basepath -TargetPath $targetpath – ComputerName $computername -Defender -Storage -Compute – EnableRemoteManagementPort

microsoft-exams

Leave a Reply

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


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