官术网_书友最值得收藏!

Adding packages

For adding packages, you can use the following package switches which are supported with the New-NanoServerImage command:

  • -Storage: This allows you to add the File Server role and other storage components
  • -Compute: This allows you to add the compute (Hyper-V) role
  • -Defender: This allows you to add the Windows defender feature
  • -Clustering: This allows you to add the clustering role
  • -Containers: This allows you to add the containers role (see Chapter 8, Running Windows Server Containers and Hyper-V Containers on Nano Server)

The list of packages supported on Nano Server will keep growing over time. Therefore, instead of adding a new switch for each package, the Nano Server team has added a new parameter -Package that supports a comma separated list of all the packages that you want to include.

If you want to add the Hyper-V server role, failover clustering, and the storage role, you can use the -Package parameter as shown in the example covered earlier, followed by the name of each package, as shown in the following example:

-PackageMicrosoft-NanoServer-Compute-Package,Microsoft-
NanoServer-FailoverCluster-Package,Microsoft-NanoServer-
Storage-Package
主站蜘蛛池模板: 外汇| 类乌齐县| 当阳市| 西峡县| 瑞安市| 郎溪县| 凤台县| 恩平市| 和平区| 龙南县| 新宁县| 南丰县| 当涂县| 雅安市| 岳阳市| 桑植县| 巴青县| 曲周县| 曲靖市| 宜州市| 日土县| 延川县| 永安市| 岐山县| 临桂县| 宜宾县| 柏乡县| 桃园市| 耿马| 广水市| 兰溪市| 西华县| 德化县| 玛沁县| 锦屏县| 湖南省| 沛县| 柘荣县| 扎赉特旗| 肃宁县| 兴文县|