If you build a new RDS environment for what ever reason and you have a lot of published remote apps and you don’t want to recreate them by hand you have to use some scripting.

Variables

Export All Remote Apps from the old RDS Farm

 

Now just import the RemoteApps by using the foreach-object powershell command.