I successfully setup and configured PSWA but I'm having trouble figuring out where to place the profile.ps1 file so that it is loaded when I login to PS.
When I check $Profile, it lists that the path is C:/users/myusername/documents. I placed the profile.ps1 file there, but no dice. I also checked $Profile.AllUsersAllHosts and moved the file to this location and same. How do I setup a profile for PSWA?
PWA uses Remoting to connect to computers. That means you're not in PowerShell.exe, you're in wsmprovhost.exe, which doesn't load profiles. Profiles aren't part of the shell engine, they're implemented by host applications, and the Remoting host application doesn't support them.