Which PowerShell command would you use to create a Nano Server which had the Hyper-V role, clustering, OEM Drivers and antimalware?
Correct Answer for the following Question is given below
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?
Question:
Which PowerShell command would you use to create a Nano Server which had the Hyper-V role, clustering, OEM Drivers and antimalware?
Options:
New-NanoServerImage -MediaPath $mediapath -BasePath $basepath -TargetPath $targetpath ComputerName $computername -OEMDrivers -Clustering – Defender -Compute
New-NanoServerImage -MediaPath $mediapath -BasePath $basepath -TargetPath $targetpath – ComputerName $computername -OEMDrivers -Clustering -Storage – EnableRemoteManagementPort
New-NanoServerImage -MediaPath $mediapath -BasePath $basepath -TargetPath $targetpath – ComputerName $computername -OEMDrivers -Defender -Containers – EnableRemoteManagementPort
New-NanoServerImage -MediaPath $mediapath -BasePath $basepath -TargetPath $targetpath – ComputerName $computername -Defender -Storage -Compute – EnableRemoteManagementPort
Correct Answer
The Correct Answer for this Question is
New-NanoServerImage -MediaPath $mediapath -BasePath $basepath -TargetPath $targetpath ComputerName $computername -OEMDrivers -Clustering – Defender -Compute
Explanation
The Question – Which PowerShell command would you use to create a Nano Server which had the Hyper-V role, clustering, OEM Drivers and antimalware? has been answered correctly and answers for the question is New-NanoServerImage -MediaPath $mediapath -BasePath $basepath -TargetPath $targetpath ComputerName $computername -OEMDrivers -Clustering – Defender -Compute
More about these Exams
These Exam Questions and the order of these questions keep changing. but the answers are obviously same. so if you don’t find a question after another we suggest you search it in the search box and we are sure you’ll find it. you can bookmark this site for Quick access in future.
We hope you found it helpful don’t forget to leave a comment if you feel a need to correct or ask we’re always here to help.
you can find more here at mnccertified
Feel free to contact via comment or email.
Happy Learning
Cheers, Team MNCcertified