Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 246952

Re: how to find the virtual machines that were created from 8th March 2013 to 15 march 2013 using powercli

$
0
0

PowerCLI C:\Program Files\VMware\Infrastructure\vSphere PowerCLI> Get-VIEvent -Start $start -Finish $finish -MaxSamples ([int]::MaxVal
>> where {$_ -is [VMware.Vim.VmCreatedEvent] -and
>> $_.Datacenter.Name -eq "uk_gbdc_prod_int_01" -and
>> $_.ComputeResource -eq "uk_int_prd_01"} |
>> Select CreatedTime,UserName,@{N="VM";E={$_.Vm.Name}}
>> $
>>
PowerCLI C:\Program Files\VMware\Infrastructure\vSphere PowerCLI>

 

 

the message is coming like this i am unable to get the script output...


Viewing all articles
Browse latest Browse all 246952

Trending Articles



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