Share via

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

Answer accepted by question author

XinGuo-MSFT 22,271 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.

Was this answer helpful?

0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

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