Intranet WebSites don't accept privilaged account credentials

This topic contains 3 replies, has 2 voices, and was last updated by  Dave Wyatt 1 year, 4 months ago.

  • Author
    Posts
  • #37880

    Andy Smith
    Participant

    Afternoon all

    I'm writing a tool in powershell for desktop support users.

    This too need to be run with thier privilaged account. Because of this when i add buttons that link to intranet website it asks for thier normal account details.

    Is there anyway for me to tell powershell so use thier existing domain account rather that the privilaged account that the tool is running. Without a login promt.

    Regards

  • #37882

    Dave Wyatt
    Moderator

    Not that I know of, unless you save those credentials somewhere (which is probably not worth the security risk).

  • #37883

    Andy Smith
    Participant

    So thier admin account have the same password and thier usernames are the same format but with _adm at the end.

    Would there be a way to get PS to remove the _adm from the username before using the weblink?

    I know i'm asking alot

  • #37884

    Dave Wyatt
    Moderator

    Not that I know of, sorry.

You must be logged in to reply to this topic.