top of page

Moving application definitions between farms

Nov 23, 2016
1 min read

Came across this little script for dumping application definitions and then being able to add them to a new farm. Helps when you need to upgrade but don't want/can't upgrade controllers in place

First you Export your apps on the XDC:

get-brokerapplication | export-clixml C:\apps.xml

Copy this file to DC2 and run the following:

$dg = Get-BrokerDesktopGroup "<desktop group name>" $apps = Import-Clixml C:\apps.xml foreach ($app in $apps) { New-BrokerApplication -ApplicationType HostedOnDesktop -BrowserName $app.Name -CommandLineExecutable -$app.CommandLineExecutable -Enabled $app.Enabled -Name $app.Name -UserFilterEnabled $app.UserFilterEnabled -DesktopGroup $dg $user = $app.AssociatedUserNames Add-BrokerUser -Name "$user" -Application $app.name }

 
 
 

1 Comment


DanielVaughn
Sep 29

While sorting through migration options on https://casinoprelievoimmediato.com, this script came at the right time. The manual step for re-associating users is exactly what I was dreading to script myself. I'll definitely be testing the Clixml dump against a test farm first, since my current environment has some tricky app name conventions that might not carry over cleanly.

Like
Featured Posts
Check back soon
Once posts are published, you’ll see them here.
Recent Posts
Archive
Search By Tags
Follow Us
  • Facebook Basic Square
  • Twitter Basic Square
  • Google+ Basic Square
  • LinkedIn Social Icon
  • Twitter Social Icon
bottom of page