posh web access - default logon page customization

Welcome Forums General PowerShell Q&A posh web access - default logon page customization

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

 
Participant
5 years, 4 months ago.

  • Author
    Posts
  • #8401

    Participant
    Points: 0
    Rank: Member

    Does anyone know how to change the default header on the powershell web access logon page from 'Windows PowerShell Web Access' to 'Some company Posh Web access' ?

     

    many thanks!

  • #8409

    Participant
    Points: 1
    Rank: Member

    I asked some MVP friends and Sarah Dutkiewicz came up with a great answer:

    The web dev in me had to do some exploring, as I demo PWA in my “What’s New in PS 3” talk and got curious. I’m not sure what the Microsofties will say but this is what I’ve found out:

    PWA is nothing more than a web application in IIS (with some awesome functionality).
    They’re using JavaScript to control the title of the web app.
    If you have the right permissions, you can edit FormLayout.Master, line 79 with the following change:

    Replace:
    this.document.title = L_FeatureName_Text;

    With:
    this.document.title = "Company Name" + L_FeatureName_Text;

    Yes, this is possible. Whether the Microsofties back it or not may be another story.

    ~ Sadukie
    Visual C# MVP

    Hope this helps!

    Kirk out.

  • #8735

    Participant
    Points: 0
    Rank: Member

    Thank you for your solution! I really appreciate this.

     

     

The topic ‘posh web access - default logon page customization’ is closed to new replies.