PowerShell Web Access Profiles

This topic contains 2 replies, has 2 voices, and was last updated by  Mike Bennett 3 years, 1 month ago.

  • Author
  • #24820

    Mike Bennett

    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.

    Any help?

    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?


  • #24822

    Don Jones

    You cant.

    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.

  • #24823

    Mike Bennett

    Thanks, Don!

You must be logged in to reply to this topic.