How to find VM MACaddress history in SCVMM?

HaoLiu-6848 20 Reputation points
2024-07-25T03:04:54.9066667+00:00

Since the VM may change its dynamic MAC address when it is shut down and restarted,

it is not known if this has a history, such as a record in SQL.

System Center Virtual Machine Manager
0 comments No comments
{count} votes

Accepted answer
  1. XinGuo-MSFT 18,771 Reputation points
    2024-07-25T07:56:36.88+00:00

    Hi,

    Unfortunately, SCVMM does not natively keep a history of dynamic MAC addresses, but you can track changes by periodically logging the MAC addresses to a database or a file.

    Here’s a basic approach using PowerShell:

    Get the current MAC address:

    
    Get-SCVirtualNetworkAdapter -VM "YourVMName" | Select-Object VMName, MACAddress
    
    

    Log the MAC address: You can create a script to run at regular intervals (e.g., using Task Scheduler) to log the MAC address to a file or a database.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.