Pull SessionHostName in WVD Spring 2020

Regular Visitor

Hi all,

 

I've been trying to find a way to just pull the SessionHostName using the new cmdlet for WVD Spring 2020. Found here https://docs.microsoft.com/en-us/powershell/module/az.desktopvirtualization/get-azwvdusersession?vie.... I'm not very familiar with hash tables that are mentioned at the end of that link so I'm not sure if that is what I need? I used to be able to get this information in the Fall 2019 version of WVD, specifically found here https://docs.microsoft.com/en-us/powershell/module/windowsvirtualdesktop/Get-RdsSessionHost.

 

Right now all I am able to get when pulling the Name is what they show in the example.

 

HostPoolName/SessionHostName

 

Anyone with better powershell skills able to tell me how one can just pull the SessionHostName? Is it possible?

0 Replies