Citrix XenApp

Adding a user or security group to every published application in your XenApp farm

I had a need to add a certain security group to every single published application in a XenApp 6.5 farm today. Create a new file with the extension .ps1 and copy and paste this in:

Then run the PowerShell script. It will enumerate all apps in your farm and add the security group or user ID you specified to each app. Don’t worry, it won’t overwrite any existing users or groups for the apps, it will only add.

Advertisement. Scroll to continue reading.

When you check the app properties now, you will see the new group added to all apps. Hope this helps!

2 Comments

  1. Lauren Dunnevant

    April 28, 2016 at 1:05 PM

    The equivalent in 7.x would be:

    Get-BrokerApplication | Add-BrokerUser -Name 'domain\username'

    You can also be more specific with regards to a folder name, for example:
    Get-BrokerApplication -Name 'Foldername\*' | Add-BrokerUser -Name 'domain\username'

    Hope this is useful to someone!

  2. David Worthley

    May 24, 2018 at 1:33 PM

    Thanks @Lauren Dunnevant. I had to comment because I was looking for exactly this. This works! and saved me a lot of time.

Leave a Reply

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

You May Also Like

Apache

Today I would like to go over proper URL redirection when using SSL but first I would like to preface this by describing what...

Exchange 2003

A useful Exchange 2003 guide I wrote for a friend’s blog originally but I am posting it here on mine now for your viewing...

Citrix Workspace

You can use FIDO2 hardware security keys plugged into your physical desktop over the Citrix HDX remoting protocol for use with virtualized Windows Desktop...

Cloud Design Architecture

The community-driven paperback book initiated by my friends Bas van Kaam and Christiaan Brinkhoff is available for sale on Amazon. If you haven’t picked...

JasonSamuel.com was launched in 2008 as a platform to give back to the IT community by sharing knowledge and expertise. Over the years, it has become a trusted global resource for the latest insights, how-to guides, and forward-thinking leadership on enterprise mobility, security, virtualization, cloud architecture, automation, and other cutting-edge technologies. Today, it serves as a go-to reference hub for IT professionals, attracting hundreds of thousands of unique visitors from around the world each month. Learn more on the About Me page.
Copyright © 2008-2025 JasonSamuel.com

Exit mobile version