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

VMware view get users

$
0
0

Hi

 

I have to make a script for our VMware view environment that gets the amount of users that have logged in last week.

but I'm stuck.

 

i got so far with my script.

 

 

$pss = New-PSSession "view-broker"

 

Invoke-Command -Session $pss -ScriptBlock {

##### Add View Snanpin.

if(-not (Get-PSSnapin VMware.View.Broker -ErrorAction SilentlyContinue))

{

   Add-PSSnapin VMware.View.Broker

}

#*****************************************

Get-EventReport  -ViewName user_events | where {$_.eventtype -eq "AGENT_CONNECTED"}  }


Viewing all articles
Browse latest Browse all 192300

Trending Articles



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