Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 175326

Get removed VMs by a specific user

$
0
0

Hello,

 

I want to know by whom the VMs were deleted through time, but this command isn't working fine with me.

 

Get-VIEvent -maxsamples 10000 -Start (Get-Date).AddDays(–100) |where {$_.username -ne "USERNAME" -and    $_.Gettype().Name-eq "VmRemovedEvent"} |Sort CreatedTime -Descending |Select CreatedTime, UserName,Fullforma

ttedMessage


Viewing all articles
Browse latest Browse all 175326

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>