Namespace Neon.HyperV
Classes
HyperVClient
Abstracts management of local Hyper-V virtual machines and components on Windows via PowerShell.
note
This class requires elevated administrative rights.
HyperVException
Thrown by HyperVClient when an error is detected.
NetAdapter
Describes a host network adapter.
VirtualDrive
Specifies virtual drive creation parameters.
VirtualIPAddress
Describes a virtual Hyper-V IP address.
VirtualMachine
Describes the state of a Hyper-V virtual machine.
VirtualMachineNetworkAdapter
Describes a Hyper-V virtual network adapter attached to a virtual machine.
VirtualNat
Describes a virtual NAT.
VirtualSwitch
Describes the a Hyper-V virtual network switch.
Enums
HyperVDriverType
Enumerates the Hyper-V driver implementations. Wmi implements Hyper-V operations in-process and is the default and recommended driver.
PowerShell uses PowerShell 7+ to execute cmdlets out-of-process. PowerShell 7+ must already be installed for this to work and is quite slow. The PowerShell implementation is several years old and deprecated.
VirtualMachineState
Enumerates the known Hyper-V virtual machine states.
VirtualSwitchType
Enumerates the known Hyper-V virtual switch types.