Step 2: Execute your custom command to get the MAC Step 1: Wait for host to be detected online Then create a job queue that looks like this: WMIC PATH Win32_NetworkAdapterConfiguration WHERE "IPEnabled=True" GET MacAddress In the meantime you can create a custom remote command (logged output) with the following syntax: In the current version of BP there is no “Get MAC” option in the job queue, but we will consider adding it. This way the MAC field will not be overwritten with an error when the machine is offline. However, as a way to accomplish exactly what you want to do, you could have your task check to see if the target computer is online first before trying to obtain the MAC. I would think that alone should be sufficient because even if the MAC column/field is overwritten with an error or blank, the previous query results are still contained in the ‘All Messages’ field. First I would note that the MAC gets logged in the ‘All Messages’ column, so you’ll have the entire history there.
0 Comments
Leave a Reply. |