PowerShell Web Access Profiles

Welcome Forums General PowerShell Q&A PowerShell Web Access Profiles

This topic contains 2 replies, has 2 voices, and was last updated by

 
Participant
3 years, 7 months ago.

  • Author
    Posts
  • #24820

    Participant
    Points: 0
    Rank: Member

    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?

    Thanks!

  • #24822

    Keymaster
    Points: 1,704
    Helping HandTeam Member
    Rank: Community Hero

    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

    Participant
    Points: 0
    Rank: Member

    Thanks, Don!

The topic ‘PowerShell Web Access Profiles’ is closed to new replies.