This recipe will show you how to configure the Remote Desktop Session Host by using PowerShell scripts to create an unattended installation and configuration for your XenApp infrastructure.
To configure the RD Session Host, you need to have the RD Session Host role installed on a Windows server. You can use the unattended installation directions from the previous recipe for the installation of the RD Session Host.
To run the provided PowerShell commands, you will need to change the default execution mode for PowerShell to a less restrictive mode on the server.
You can change the PowerShell execution mode from
RemoteSigned by running the following PowerShell command:
Set-ExecutionPolicy RemoteSigned ...