Relative Content

Tag Archive for powershellservice

PS1 Restart service as specified user

I’m trying to create a PS1 script to restart a service in a computer, where the user has no admin right, so i’m trying to execute as de admin user, now i’m trying first to open Notepad, but when I execute this script: