NickyFixIt.com Day in the life of an enterprise IT professional… and some other stuff.
  • Home
  • About Me
  • Donate to an Animal Rescue
  • Get in touch
  • Powershell
  • XenDesktop

Display Delivery Group Membership across your entire XenDesktop infrastructure

December 13, 2016 / Nick / 1 Comment

Wanted to share this one out, because I couldn’t find anything out there that would cleanly get this information for me so we went to the drawing board.

This powershell script will display Delivery Group Name, User AD Account name and then User’s Full name like this:

group user fullname
Test_Delivery_Name NFI\NickyFixIt Fuchs, Nick

—

 $out = @()

foreach ($g in (Get-BrokerAccessPolicyRule -DesktopGroupName * )) {
foreach ($u in $g.IncludedUsers) {
$d = “” | select group,user,fullname,via
$d.group = $g.DesktopGroupName
$d.user = $u.Name
$d.fullname = $u.FullName
$d.via = $g.AllowedConnections

$out += $d
}
}

$out | export-csv -notype “C:\temp\nickyfixit.csv”

 

Thanks Josh @ LockStepGroup

1 Comment

  • Lalit says:
    October 11, 2017 at 2:24 pm

    Hi Nick,

    Thanks for posting these such a great help. Is it possible for you to add Machinename, IPaddress and OStype in this report

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

« Disabling Instant Messaging (IM) in Skype for Business 2015
Exciting Atlantis USX and Citrix XenDesktop Integration »

Theme by The WP Club. | Proudly powered by WordPress