When I go to view sessions - I see user name, connection status, VDI desktop name. But I don't
see an option to display the IP address of the origin of the session. Is there some way to
get this data out of Horizon Administrator? Thank you.
In the HMTL5 infterface find your user:
In this screen the client hostname and IP are showed:
You could also use PowerCLI to get this information:
First you have to connect to the connection server(s).
Connect-HVServer <your_hvserver>
Then your have to search for you user:
(Get-HVLocalSession).namesdata | ? {$_.username -like "domain.local\username"}
i RDP'd to the View server and tried to run this in View PowerCLI but it didn't accept
(Get-HVLocalSession).namesdata | ? {$_.username -like "domain.local\username"}
The error was about not recognizing (Get-HVLocalSession) as a
cmdlet.
You don't do it from there with the latest versions, look at
Automating VMware Horizon 7 with VMware PowerCLI
you can install the commandlets there but you can also install them locally. The Get-HvLocalSession comes from
Look at
https://www.retouw.nl/powercli/pulling-horizon-session-information-using-powercli/
For another reference, in general the site owner is one of the few people that actually write about the newer powercli capabilities
You can use Horizon HelpDesk Tool which is very handy. All you need to do is, search the VDI session using the userID and you will get the complete details about the endpoint client machine as well as the VDI machine details.
This fling tool can be downloaded from: Horizon Helpdesk Utility | VMware Flings
This looks so promising. But in practice I seem to be unable to get the one detail I'm seeking. If I search the user and right click it
gives me the options you see below. But if I select Show Detail, nothing at all happens. Any thought as to what I might be missing?