DSCResources/DSC_VMNetworkAdapter/en-US/about_VMNetworkAdapter.help.txt
.NAME
VMNetworkAdapter .DESCRIPTION Manages VM network adapters attached to a Hyper-V virtual machine or the management OS. ## Requirements * The Hyper-V Role has to be installed on the machine. * The Hyper-V PowerShell module has to be installed on the machine. .PARAMETER Id Key - String Unique string for identifying the resource instance. .PARAMETER Name Required - String Name of the network adapter as it appears either in the management OS or attached to a VM. .PARAMETER SwitchName Required - String Virtual Switch name to connect to. .PARAMETER VMName Required - String Name of the VM to attach to. If you want to attach new VM Network adapter to the management OS, set this property to 'ManagementOS'. .PARAMETER MacAddress Write - String Use this to specify a Static MAC Address. If this parameter is not specified, dynamic MAC Address will be set. .PARAMETER NetworkSetting Write - Instance Network Settings of the network adapter. If this parameter is not supplied, DHCP will be used. .PARAMETER VlanId Write - String Use this to specify a Vlan id on the Network Adapter. .PARAMETER Ensure Write - String Allowed values: Present, Absent Ensures that the VM Network Adapter is Present or Absent. The default value is Present. .PARAMETER DynamicMacAddress Read - Boolean Returns $true if the network adapter uses a dynamic MAC address. |