The xITGHyperV module based on xHyper-V and contains DSC resources for deployment and configuration of virtual machines and related resources.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ.
This is the branch containing the latest release - no contributions should be made directly to this branch.
This is the development branch to which contributions should be proposed by contributors as pull requests. This development branch will periodically be merged to the master branch, and be released to PowerShell Gallery.
Please check out common DSC Resources contributing guidelines.
A full list of changes in each version can be found in the change log.
- xVMLegacyNetworkAdapter manages legacy VM network adapters attached to a Hyper-V virtual machine.
- xVMNonLegacyNetworkAdapter manages non legacy VM network adapters attached to a Hyper-V virtual machine.
- xVMComPort manages VM serial ports attached to a Hyper-V virtual machine.
Manages legacy VM Network adapters attached to a Hyper-V virtual machine.
- The Hyper-V Role has to be installed on the machine.
- The Hyper-V PowerShell module has to be installed on the machine.
[String]
Id (Key): Unique string for identifying the resource instance.[String]
Name (Required): Name of the network adapter as it appears either in the management OS or attached to a VM.[String]
SwitchName (Required): Virtual Switch name to connect to.[String]
VMName (Required): Name of the VM to attach to. If you want to attach new VM Network adapter to the management OS, set this property to 'Management OS'.[String]
MacAddress (Write): Use this to specify a Static MAC Address. If this parameter is not specified, dynamic MAC Address will be set.[String]
Ensure (Write): Ensures that the VM Network Adapter is Present or Absent. The default value is Present. { Present | Absent }.
[Boolean]
DynamicMacAddress (Read): Does the VM Network Adapter use a Dynamic MAC Address.
Manages non legacy VM Network adapters attached to a Hyper-V virtual machine.
- The Hyper-V Role has to be installed on the machine.
- The Hyper-V PowerShell module has to be installed on the machine.
[String]
Id (Key): Unique string for identifying the resource instance.[String]
Name (Required): Name of the network adapter as it appears either in the management OS or attached to a VM.[String]
SwitchName (Required): Virtual Switch name to connect to.[String]
VMName (Required): Name of the VM to attach to. If you want to attach new VM Network adapter to the management OS, set this property to 'Management OS'.[String]
MacAddress (Write): Use this to specify a Static MAC Address. If this parameter is not specified, dynamic MAC Address will be set.[String]
Ensure (Write): Ensures that the VM Network Adapter is Present or Absent. The default value is Present. { Present | Absent }.
[Boolean]
DynamicMacAddress (Read): Does the VM Network Adapter use a Dynamic MAC Address.
Manages VM serial ports attached to a Hyper-V virtual machine.
- The Hyper-V Role has to be installed on the machine.
- The Hyper-V PowerShell module has to be installed on the machine.
[String]
Id (Key): Unique string for identifying the resource instance.[String]
VMName (Required): Name of the VM to attach to.[UInt16]
Number (Required): serial port number.[String]
Path (Write): named pipe path or empty string. If this parameter is not specified, serial port detached from any named pipes.[String]
Ensure (Write): Ensures that the VM serial port is Present or Absent. The default value is Present. { Present | Absent }. Now supported only Present.