Users Guide
13–Windows Server 2016
Déploiement et gestion de Nano Server
248 AH0054602-02 F
Déploiement de Nano Server sur une machine virtuelle
Pour créer un disque dur virtuel (VHD) Nano Server pour s'exécuter dans
une machine virtuelle :
1. Téléchargez l'image du SE Windows Server 2016.
2. Accédez au dossier
NanoServer à partir du fichier téléchargé à l'étape 1.
3. Copiez les fichiers suivants du dossier
NanoServer sur un dossier de votre
disque dur :
NanoServerImageGenerator.psm1
Convert-WindowsImage.ps1
4. Démarrez Windows PowerShell en tant qu'administrateur.
5. Changez le répertoire au dossier dans lequel vous avez copié les fichiers à
l'étape 3.
6. Importez le script NanoServerImageGenerator en entrant la commande
suivante :
Import-Module .\NanoServerImageGenerator.psm1 -Verbose
7. Entrez la commande Windows PowerShell suivante pour créer un VHD qui
définit un nom d'ordinateur et inclut les pilotes invités Hyper-V :
New-NanoServerImage –DeploymentType Guest –Edition
<Standard/Datacenter> -MediaPath <path to root of media>
-BasePath
.\Base -TargetPath .\NanoServerPhysical\NanoServer.vhd
-ComputerName
<computer name> –GuestDrivers
Exemple :
New-NanoServerImage –DeploymentType Guest –Edition Datacenter
-MediaPath C:\tmp\TP4_iso\Bld_10586_iso
-BasePath .\Base -TargetPath .\Nano1\VM_NanoServer.vhd
-ComputerName
Nano-VM1 –GuestDrivers
REMARQUE
La commande suivante vous demande un mot de passe administrateur
pour le nouveau VHD.