ProvisionDevice - getMacAddrFromServerName
ProvisionDevice - getMacAddrFromServerName
Description :
This command returns the MAC address of the device associated with a server.
Return type : String
Command Input :
Variable Name | Variable Type | Description |
---|---|---|
SERVERNAME | String | Hostname of the server whose MAC address you want. |
Example
This example shows how to get the MAC address given the server name.
Script
ProvisionDevice getMacAddrFromServerName Win2k8-host1
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*