<< Back to Script Library

Create XenApp Published Desktop

This will create a new XenApp published desktop. Please specify which domain account or group will have access to the desktop.
Version: 1.0.2
Created: 2014-04-10
Modified: 2014-04-10
Creator: Andreas Roback
Downloads: 153
Tags: citrix xenapp
The Script Copy Script Copied to clipboard
Add-PsSnapin Citrix.XenApp.Commands

$appname = $args[0]+" Desktop"
$account = $args[1]

New-XAApplication -ApplicationType ServerDesktop -DisplayName $appname -FolderPath "Applications" -Description "Admin Desktop for Remote Administration" -WindowType "99%" -ColorDepth Colors32Bit -Accounts $account  -Servernames $args[0]