How to add a Package of Roles to the Nano Server. As you know, to install roles in the nano server, you have to add packages when preparing the VHD Nano Server. If you have not already added the packages, in this article we will teach you how to add the roles package to the Nano Server.
Add a Package of Roles to the Nano Server
1. connect to your Nano Server via PowerShell.
If you have trouble using PowerShell Direct to connect to your Nano Server, use the Nano Server connection tutorial.
2. Then enter the following commands to add the NanoServerPackage package to your Nano Server:
Install-Module -Name NanoServerPackage -SkipPublisherCheck -force Install-PackageProvider NanoServerPackage Set-ExecutionPolicy RemoteSigned -Scope Process Import-PackageProvider NanoServerPackage
3. After executing the above commands, enter the following command to see the complete list of installed and available packages:
Find-PackageProvider -name *
4. After receiving the desired list by the following command, install your desired package online:
Install-NanoserverPackage -name *
In the above command, enter the name of the desired package instead of *.
5. The following is a list of Nano Server packages.
List of Nano Server Packages
Microsoft-NanoServer-BootFromwin-Package
Microsoft-NanoServer-Guest-Package
Microsoft-NanoServer-FailoverCluster-Package
Microsoft-NanoServer-SCVMM-Package
Microsoft-NanoServer-IIS-Package
Microsoft-NanoServer-OEM-Driver-Package
Microsoft-NanoServer-SecureStartup-Package
Microsoft-NanoServer-DSC-Package
Microsoft-NanoServer-DCB-Package
Microsoft-NanoServer-Defender-Package
Microsoft-NanoServer-DNS-Package
Microsoft-NanoServer-Host-Package
Microsoft-NanoServer-SCVMM-Compute-Package
Microsoft-NanoServer-NPDS-Package
Microsoft-NanoServer-Containers-Package
Microsoft-NanoServer-Storage-Package
Microsoft-NanoServer-ShieldedVM-Package
Microsoft-NanoServer-Compute-Package
6. Now for example we are going to install the DNS package. The entered command will be as follows:
Install-NanoserverPackage -name Microsoft-NanoServer-DNS-Package
Note: Nano server must be connected to the Internet during all installation steps.
Dear user, we hope you would enjoy this tutorial, you can ask questions about this training in the comments section, or to solve other problems in the field of Eldernode training, refer to the Ask page section and raise your problem in it as soon as possible. Make time for other users and experts to answer your questions.
Goodluck.