Intranet WebSites don't accept privilaged account credentials

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

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

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

Not that I know of, sorry.