Citrix Cloud image

Custom Icons on Citrix Cloud

Custom Icons on Citrix Cloud? Does that work at all?
Of course it works! You can see how it works here.
In this short article I want to show you how to use your own icons for apps in the Citrix Cloud. If you want to get the same working on Prem, you can take a look at this article.

Where to get an Icon?

First of all, you need the icon you want. If you have an icon at hand, I can recommend the website https://www.flaticon.com/ as icon library. Here you can find many icons. And even really cool packs, for a variety of different themes. On the website https://convertico.com/ you can have the pictures converted into an icon if you want.

How to get the custom icons on Citrix Cloud?

Normally, our app, which we provided via the Citrix Virtual Apps and Desktop Cloud, looks like the following screenshot

However, I would like to use my own icon here. First I download the Powershell SDK for Citrix Cloud. You can find it under the following link:

https://download.apps.cloud.com/CitrixPoshSdk.exe

Please install the Powershell SDK on your PC, with which you can manage the Citrix Cloud Services in the future. If you have installed the whole thing, we can now connect to the Cloudd Service. Please start the Powershell as administrator and load the snapin as follows.

asnp citrix*

Then we connect with our Citrix Cloud tenant.

Get-XdAuthentication

Here we have to authenticate with our Citrix Cloud Account. If the authentication was successful, we can select the organization or client.

To define the icon we want to use we have to specify the path to the icon file. I have placed my icon in the folder c:\temp. After that we have to define the app we want to use with the new icon. I do this with two variables in my script.

$iconfile= "C:\temp\cross.ico"
$ctxcloudApp= "App01"
$icon=Get-BrokerIcon -FileName $iconfile  |New-BrokerIcon | Select-Object Uid
Get-BrokerApplication -name $ctxcloudapp | Set-BrokerApplication -IconUid $icon.Uid

Now you can simply update the desired app in your Citrix Studio and the new icon should already be displayed.

Also in the Citrix webspace, users now see the new app as desired.

Isn’t that super cool?


Here you can find the whole script again. If needed, you can also download it from my GitHub.

https://github.com/thomaspreischl/PowershellScripts/

Complete Powershell Script

asnp citrix*
Get-XdAuthentication
$iconfile= "C:\temp\cross.ico"
$ctxcloudApp= "App01"
$icon=Get-BrokerIcon -FileName $iconfile  |New-BrokerIcon | Select-Object Uid
Get-BrokerApplication -name $ctxcloudapp | Set-BrokerApplication -IconUid $icon.Uid 

Hope you enjoy this short post and it will help you.

Leave a Comment

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