run a powershell script under a certain account

Arikael used Ask the Experts™
Hi experts

I'm using ShadowProtect Server (a backup server). This software provides the possibility to run commands/scripts after a backup. The whole service runs under the local system account (and so do the scripts). It seems that powershell won't properly run under this account.

What is the best way to get my script running?
runas with /savecred?
or let the whole service run under a different account (don't like that idea)

Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2010
I think 'runas'  will suffice ....try.....
Edmond HawilaChief Operating Officer
check if this would work for you:

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial