Outils pour utilisateurs

Outils du site


windows:memo_commandes_hyper-v

Ceci est une ancienne révision du document !


Mémo Commandes Hyper-V

Afficher les interface réseaux physique disponible :

Get-NetAdapter

Créer un VMSwitch :

New-VMSwitch "NOM_DU_VMSwitch" -NetAdapterName "NOM_INTERFACE_RESEAU"

Afficher le nom des VMswitchs :

Get-VMSwitch  * | Format-Table Name 

Afficher le nom des VMSwitchs et des interface réseau attachées :

Get-VMSwitch  *

Création d'une nouvelle Machine Virtuelle en attachant un VHDx existant :

New-VM -name NOM_VM -MemoryStartupBytes 2GB -BootDevice VHD -VHDPath C:\CHEMIN_VERS.VHDX -Generation 2 -SwitchName "NOM_VSWITCH"
windows/memo_commandes_hyper-v.1504690677.txt.gz · Dernière modification : 2017/09/06 09:37 de sheltem