We have a RemoteApp deployment that we use as our "management portal", containing tools we need to manage the environment (AD users and computers, DHCP console, etc). We've published pretty much all the tools, but the Exchange tools are having a few issues.
Whenever you run the RemoteApp for the Exchange Management Console (.msc file) you have to click "show details" while it's connecting so that you can click on "Yes" after a UAC prompt pops up:
That happens even if the person connecting is a local admin on the RD Session Host that's hosting the Exchange Management Console.
I'm also unable to figure out how to publish the Exchange Management Shell. When selecting to publish RemoteApps the Exchange Management Shell shows up, but it obviously just points to powershell.exe. Looking at the actual shortcut you get the following:
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -version 2.0 -noexit -command ". 'C:\Program Files\Microsoft\Exchange Server\V14\bin\RemoteExchange.ps1'; Connect-ExchangeServer -auto"
I published the Exchange Management Shell and then placed everything after powershell.exe as a command-line paramter. The PowerShell GUI does launch when you run the RemoteApp, and it does appear to connect to Exchange correctly. However, I'm unable to actually interact with the window that opens. It sits at the PowerShell prompt, but I'm unable to type anything, or get the window to respond at all. I even have to close the window by right-clicking on the window on the taskbar and selecting Close, as the "X" in the upper-right corner is also unresponsive.
I'd greatly appreciate any ideas/help/advice. Thanks.