Bulk assign AD groups to Citrix applications using Powershell
PowerShell to add an Active Directory group to a Citrix delivered Application
Run PowerShell from your Citrix Delivery Controller server...as admin
If your applications reside in specific folder find the UID of that folder...
PS C:\>Get-BrokerApplication | Select Name, AdminFolderUid
Now use that UID in the following to disable inherited permissions
PS C:\> Get-BrokerApplication -AdminFolderUid 1 | Set-BrokerApplication -UserFilterEnabled $true
Now run this to assign a domain group
PS C:\> Get-BrokerApplication -AdminFolderUid 1 | Add-BrokerUser -Name "DOMAIN\GroupName"
I ripped this code from https://discussions.citrix.com/topic/383089-restricting-one-app-to-a-domain-group/
Thanks.
Run PowerShell from your Citrix Delivery Controller server...as admin
If your applications reside in specific folder find the UID of that folder...
PS C:\>Get-BrokerApplication | Select Name, AdminFolderUid
Now use that UID in the following to disable inherited permissions
PS C:\> Get-BrokerApplication -AdminFolderUid 1 | Set-BrokerApplication -UserFilterEnabled $true
Now run this to assign a domain group
PS C:\> Get-BrokerApplication -AdminFolderUid 1 | Add-BrokerUser -Name "DOMAIN\GroupName"
I ripped this code from https://discussions.citrix.com/topic/383089-restricting-one-app-to-a-domain-group/
Thanks.
Comments
Post a Comment