run a powershell script under a certain account

Arikael
Arikael used Ask the Experts™
on
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?
psexec?
runas with /savecred?
or let the whole service run under a different account (don't like that idea)

Comment
Watch Question

Do more with

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

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