- Getting Started with Nano Server
- Charbel Nemnom
- 178字
- 2021-07-02 21:11:08
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
推薦閱讀
- 零基礎搭建量化投資系統(tǒng):以Python為工具
- Effective C#:改善C#代碼的50個有效方法(原書第3版)
- Manga Studio Ex 5 Cookbook
- Offer來了:Java面試核心知識點精講(原理篇)
- Mastering Julia
- Learn Swift by Building Applications
- Functional Kotlin
- C語言程序設計
- C#程序設計基礎:教程、實驗、習題
- MySQL入門很輕松(微課超值版)
- 一本書講透Java線程:原理與實踐
- 小程序從0到1:微信全棧工程師一本通
- Web程序設計:ASP.NET(第2版)
- OpenCV Android Programming By Example
- Python數(shù)據(jù)科學實踐指南