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

Re: VMware view get users

$
0
0

no  i do get output. the problem i'm facing is how to select the last 7 days.

if i look at one of the output and do a get-member of "time" than it tells me its  a "System.String" and not a "System.dateTime"

 

This is one of the output:

 

Get-EventReport  -ViewName user_events | where {$_.eventtype -eq "AGENT_CONNECTED"} | select -First 1 | fl *

 

report-result      : 0

eventid            : 19766

module             : Agent

eventtype          : AGENT_CONNECTED

time               : 2013-04-12 16:47:04.113

source             : com.vmware.vdi.events.client.EventLogger

severity           : INFO

moduleandeventtext : User ********* has disconnected from machine *******

userdisplayname    : ************

usersid            : S-1-5-21-*******66342-2480738168-*****

desktopid          : ********

desktopdisplayname :

machineid          : 3f8460c7-bb26-460c-ab28-f59d1*******


Viewing all articles
Browse latest Browse all 214415

Trending Articles



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