<< 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.
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]