In the previous chapter, we learned about Citrix Receiver for Windows and Macintosh and how to use Citrix Merchandising Server for plugins management.
In this chapter, we will learn how to automatize common tasks using PowerShell scripts. This powerful scripting language combined with the Citrix XenApp Commands package will help us to create scripts to manage our XenApp farm. We can automatize common and simple tasks, like publishing or enabling/disabling applications, assign/remove users or disable logon on servers, however we can use PowerShell for more complex tasks like generating CPU usage reports, creating backup of policies, or migrating applications between XenApp farms.
In this chapter, we will cover: