Pawel Serwan Blog

Citrix, Microsoft and other stuff


[PowerShell] Citrix StoreFront 3.x installation script

psRecently I was working on preparation of moving from Web Interface 5.4 to StoreFront 3.x. Installing few servers manually doesn’t make sense for me so I wrote a PowerShell script that automates whole installation process. Source code is available below. I hope you will like it. Continue reading


First Look: XenApp/XenDesktop 7.6 – Part 9 (PowerShell)

Welcome in the last part of the First Look series on XenApp/XenDesktop 7.6. I made a long break since last post but luckily I found time to finish the series. Today I would like to focus on PowerShell in Citrix XenApp/XenDesktop 7.6. First let’s see what we did already:

In the first part – we have installed first Delivery Controller and setup our new XenDesktop 7.6 site.

In the second part – we have configured first site.

In the third part – we prepared the template image of Windows Server 2012 R2 that will be used by MCS service for creation of new machines that will be hosting user desktops and applications.

In the fourth part – we have upgraded XenApp 6.5 server to XenApp 7.6.

In the fifth part – we have created machine catalogs and used previously prepared master image. We attached to the site as well upgraded XenApp 6.5 server.

In the sixth part – we have delivered applications to the end users by creating delivery groups.

In the seventh part – we have configured StoreFront so that end users could launch their apps.

In the eighth part – we checked how Connection Leasing really works.

In the ninth part – I would like to show you how you can use PowerShell in XenApp/XenDesktop 7.6.

As you I hope already know PowerShell became the industry standard when it comes to the management framework, at least in Windows world 🙂 And well Citrix is part of that world of course. Good to see then that XenApp/XenDesktop provide an SDK based on a number of Microsoft Windows PowerShell version 3.0 snap-ins that allows you to perform the same tasks as you would with the Citrix Studio console, together with tasks you cannot do with Studio alone. To use SDK you need to just launch PowerShell console or PowerShell ISE if you would like to have PowerShell editor where you can write you scripts on your server with installed Citrix XenApp/XenDesktop 7.6. Continue reading