Category: vcenter
-
Missing linked vCenter
After patching the vCenters (5 of them) from version 7.0 U3d to version 7.0U3f to fix the mitigate the issue found on VMSA-2021-0025 I lost the one of the vCenters. My first thought would be to revert back to the previous version using the OFFLINE snapshots taken from the vCenters before the update, but I […]
-
Script – Get VMs created, deleted or modified on vCenter
A while back someone asked me if i could tell him who deleted a vm and when. I was able to get the information but it took me quite some time digging in the events. After this request I was asked to create a script that would send an email every day with the VMs […]
-
Get VM name with specific MAC Address
-Recently I got a request to get a virtual machine (vm) name using only the network interface MAC Address. After search for some scripts I could not find one that really worked for me so I put my brain to work and this is what I came up: [sourcecode language=”powershell”] get-vm | get-networkadapter | Where-Object […]