Functions to export XenDesktop site information such as administrators, delivery groups, desktops, applications and admin folder to either variable or XML file.  Then will import same information and either create or update.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name CTXXD-Replicate

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name CTXXD-Replicate

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More



(c) 2017 Ryan Butler. All rights reserved.

Package Details


  • Ryan Butler


Citrix XenDesktop Site


Export-XDApp Export-XDAppGroup Export-XDDesktop Export-XDsite Get-XDDesktop Import-XDAdmin Import-XDAdminRole Import-XDApp Import-XDApplicationGroup Import-XDDeliveryGroup Import-XDDesktop Import-XDsite Import-XDTag New-XDadminfolder New-XDMCSDesktop Remove-XDMCSDesktop Send-XDSlackMsg


This module has no dependencies.

Release Notes

05-11-17 Added LTSR Check and fix ICON creation
05-12-17 Bug fixes
05-22-17 fixes around browsername and permissions
06-01-17 Fixes for BrokerPowerTimeScheme on desktop groups
06-23-17 Fixes for folder creation and BrokerPowerTimeScheme
07-12-17 Fixes for app creation and user permissions
07-13-17 String fix for app creation on command line argument. Also fixes thanks to Joe Shonk
07-23-17: Added arguments to include\exclude apps and delivery groups based on tags
07-23-17: Edits to tag import based on XD site version
07-23-17: Better handling of app renames
07-26-17: Converted to strict-mode and documented functions
07-26-17: Added check for name conflict on app creation and warns user of possible name conflict
07-26-17: Added some color to output
08-04-17: LTSR doesn't like APP tags for get-brokerapplication.  Removed strict-mode for now
08-09-17: Changes to DDCVERSION check
08-21-17: App Entitlement fixes for DG groups without desktops
08-28-17: Updated for PS gallery
09-12-17: Fix for desktop permissions
09-13-17: Fix for admin permsissions
09-15-17: Convert to function
09-16-17: Folder function changes
09-20-17: Application Groups and multiple Delivery group functionality
09-26-17: Initial module release
02-12-18: Addition of functions around MCS VDA deployments
04-17-18: Fixes for application imports and exports
04-18-18: Addition of ignoreenable switch to bypass setting enable property on desktops and apps


Version History

Version Downloads Last updated
0.2.5 (current version) 1,726 3/1/2019
0.2.4 181 4/18/2018