5.5.3 Obtain the MAC address of an NIC
Function
This component obtains the MAC address of the NIC recognized by the OS.
The following servers are required for this component:
- Execution target server
This is the server that executes the component to obtain the MAC address.
This component obtains up to 4 MAC addresses of the NIC recognized by the OS. Without a MAC address set for the NIC, no MAC address can be obtained.
Use situation
This component can be used to obtain the MAC address of an NIC recognized by the OS.
Prerequisites
For the latest support information about [Required product in the System]/[Prerequisite product OS running in the execution target server], see the release notes.
[Required product in the System]
Job Management Partner 1/Automatic Operation 10-10 or later
[Prerequisite product OS running in the execution target server]
- Windows Server 2008 Standard/Enterprise (x86/x64), Windows Server 2008 R2 Standard/Enterprise/Datacenter
- Windows Server 2012 Standard/Datacenter, Windows Server 2012 R2 Standard/Datacenter
This does not apply to Server Core installation environments.
[Usage conditions for required products on the execution target server]
None.
Version
01.10.01
Category
OperatingSystem/Windows/Basic
Plug-in name displayed in the task log
osGetNicMacaddress
Return code
0: Normal
27: Error (Check the task log for error details.)
Property list
The following table lists the properties:
Property key |
Property name |
Description |
Default value |
I/O type |
Required |
---|---|---|---|---|---|
plugin.destinationHost |
Host name of the execution target server |
Specify the host name or IP address of the server on which this plugin will be executed. IPv6 addresses are not supported. |
-- |
Input |
R |
OS.returnNic1MacAddress |
NIC MAC address (for first NIC) |
Stores the MAC address of the first NIC recognized by the OS of the execution target server. |
-- |
Output |
O |
OS.returnNic2MacAddress |
NIC MAC address (for second NIC) |
Stores the MAC address of the second NIC recognized by the OS of the execution target server. |
-- |
Output |
O |
OS.returnNic3MacAddress |
NIC MAC address (for third NIC) |
Stores the MAC address of the third NIC recognized by the OS of the execution target server. |
-- |
Output |
O |
OS.returnNic4MacAddress |
NIC MAC address (for fourth NIC) |
Stores the MAC address of the fourth NIC recognized by the OS of the execution target server. |
-- |
Output |
O |
common.returnValue |
Return value for the plugin |
The return value of this plugin stored. |
-- |
Output |
O |