Hi Andreas,
We use Remote Desktops on Hyper-V servers. Users are created on AD and assigned using the Broker Server.
Hope these are the info you needed, let me know.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi all,
I'm looking to get a list of users name with Powershell who are part of a group in AD. The group has as members the VDI computers.
I know how to get the list of VDI's computers but I need to have the users name associated with the VDI's.
And lasty how to put this list into a file (excel or text, whichever is easiest).
I'm sure there is a way to get this but couldn't find something online.
Please help
Thanks
Hi Andreas,
We use Remote Desktops on Hyper-V servers. Users are created on AD and assigned using the Broker Server.
Hope these are the info you needed, let me know.
I can identify that by going to the Broker server and from Server manager I can see which VDI belongs to which user. What I need is a command that gives me the list of users in a particular group. The group contains the VDI's computer name. I want that list to show me the names of the users and not VDI's.
Does the Hyper-V PowerShell cmdlets help?
https://learn.microsoft.com/en-us/powershell/module/hyper-v/get-vmconnectaccess?
Apart from that, I don't think you can do this apart from querying the guests. AD itself doesn't really record what you log into.