Jump to content
Welcome to our new Citrix community!
  • 0

Delivery Controller - How to modify DG desktop's description using powershell


Lukas Valda

Question

4 answers to this question

Recommended Posts

  • 0

Hi, your command modifies the description of the whole delivery group (A description for this desktop group useful for administrators of the site, in my situation of the group "vls-B25" - previous picture) but not the description for the desktop itself (B25 + B36). This description is visible on receiver website.

Citrix_Receiver_Description.png

Edited by vluk008
small specification
Link to comment
  • 0
On 11/12/2019 at 10:17 AM, Ganesh Raju said:

 

Thank you, it works!

 

EXAMPLE:

$dg = "vls-B"
function Edit-Description($dg)
{
		$group = Get-BrokerDesktopGroup $dg
		$groupID = (Get-BrokerDesktopGroup $group.UiD | select UiD).UiD
		$groupNames = (Get-BrokerEntitlementPolicyRule -DesktopGroupUid $groupID | select Name).Name
		foreach ($name in $groupNames)
		{
			$description = (Get-BrokerEntitlementPolicyRule $name | select Description).Description
			$descriptionNew = "Blocked to the public, " + $description
			Get-BrokerEntitlementPolicyRule $name |Set-BrokerEntitlementPolicyRule -Description $descriptionNew
		}
}

 

Lukas

 

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...