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.

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...

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...

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...

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 began in 2008 as a way for me to give back to the IT community. This website features the latest news and how-to's on enterprise mobility, security, virtualization, cloud architecture, and other technologies I work with. This website has evolved over time to become a go-to reference hub for these technologies. It receives hundreds of thousands of unique visitors from all over the world each month. More details on the About Me page.
Copyright © 2008-2023 JasonSamuel.com

Exit mobile version