I am trying to run a powershell script logged on as a particular user who has no "Script running" permissions. If I wanted to run the script as a different user is it possible to just add the credentials as a parameter to the script?
./Get-Something –computerName SERVER1 –filePath C:\Whatever -credentials ??
Cheers in advance! (Powershell noob)