How can we help?
{{docApp.searchError}}
{{product.name}}
Searching in {{docApp.searchFilterBySpecificBookTitle}}
{{docApp.searchResultFilteredItems.length}} results for: {{docApp.currentResultsSearchText}}
in {{docApp.searchFilterBySpecificBookTitle}}
Search results have been limited. There are a total of {{docApp.searchResponse.totalResultsAvailable}} matches.
You have an odd number of " characters in your search terms - each one needs closing with a matching " character!
-
{{resultItem.title}}
{{resultItem.url}}
{{docApp.libraryHomeViewProduct.title || docApp.libraryHomeViewProduct.id}}
{{docApp.libraryHomeViewProduct.description}}
{{group.title || group.id}}
{{group.description}}
Operation Information
This operation will add a Network Adapter to a Hyper-V Virtual Machine. See the Add-VMNetworkAdapter documentation for more information: https://docs.microsoft.com/en-us/powershell/module/hyper-v/add-vmnetworkadapter?view=win10-ps
Input Parameters
Name | Type | Description | Required | Sensitive |
---|---|---|---|---|
VMName |
string |
The name of the Virtual Machine | Yes | No |
HostName |
string |
Optionally provide the Hyper-V host to perform the action on. NetBIOS names, IP addresses, and fully qualified domain names are allowable | No | No |
Name |
string |
The name of the Network Adapter | No | No |
SwitchName |
string |
The name of the virtual switch to connect to the new network adapter. If the switch name is not unique, then the operation fails | No | No |
IsLegacy |
boolean |
Specifies whether the virtual network adapter is the legacy type | Yes | No |
DynamicMacAddress |
boolean |
Assigns a dynamically generated MAC address to the new virtual network adapter | Yes | No |
StaticMacAddress |
string |
Assigns a specific MAC address to the new virtual network adapter | No | No |
ResourcePoolName |
string |
Specifies the friendly name of a resource pool | No | No |
DeviceNaming |
boolean |
Enble device naming | Yes | No |
ManagementOS |
boolean |
Create a virtual network adapter for the management operating system | Yes | No |
Output Parameters
Name | Type | Description | Required | Sensitive |
---|---|---|---|---|
outcome |
string |
Outcome of the operation. Can be OK, WARN or FAIL | Yes | No |
errors |
string |
Any errors returned by the operation | No | No |
warnings |
string |
Any warnings returned by the operation | No | No |
Name |
string |
Name | No | No |
ID |
string |
ID | No | No |
MacAddress |
string |
MAC Address | No | No |
BandwidthPercentage |
string |
Bandwidth Percentage | No | No |
Status |
string |
Status | No | No |
IPAddress |
string |
IP Address | No | No |
- Version {{docApp.book.version}}
- Node {{docApp.node}} / {{docApp.build}}
In This Document