Home > PowerShell Scripting, XenApp > Importing XenApp 6 administrators from an older farm using Powershell.

Importing XenApp 6 administrators from an older farm using Powershell.

Just a quick post, when moving from XenApp 5 to 6 the recreation of the farm can take some time, lots of new options, lots of new considerations. We have a large number of farm administrators internally and recreating that list / assigning permissions was something I avoided as long as I could due to the monotony of the task in question.

Fortunately, Powershell stepped in and made my life extremely easy, below is a quick list of tasks you need to do to quickly export and import farm administrators:

On the source server, ensure to install the powershell cmdlets for XenApp.

Run the following command and export to a shared directory:

get-xaadministrator | Export-Clixml \\server\share\admins.xml

Now on the target XenApp 6 server, run the following command:

import-clixml '\\server\share\admins.xml' | new-xaadministrator
import-clixml '\\server\share\admins.xml' | set-xaadministrator

And that’s it!

Well actually, its not, some permissions and values have changed from 5 to 6 so you still need to review the permissions (around applications and servers) , but the pre-creation of administrative accounts and any translated permissions will be immediately set.

  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: