Created
March 17, 2016 14:43
-
-
Save jeffgreenca/507e8b6498bf9a858703 to your computer and use it in GitHub Desktop.
Get details on VM reconfiguration from Get-VIEvents
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ajz posted this example at https://www.reddit.com/r/vmware/comments/4akx3o/when_did_somebody_change_the_memory/d126zrc | |
#Saving here for future reference | |
# Get VM's "Reconfiguration" events | |
$changeevents = $vm | Get-VIEvent | Where { $_.FullFormattedMessage -like "Reconfigured*"} | |
# Who initiated the event | |
$changeevents[0].UserName | |
# What specs were changed | |
$changeevents[0].ConfigSpec |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment