Our departments reporting is running on a power shell script. We need the ability for multiusers to be able to follow and halt and edit the running scripts.

Putz, Joseph 1 Reputation point

The running script can only be viewed by the owner. How can this process be launched on a server so that anyone one the server can see that is running, and if locked up by an error, anyone can see that error and stop the process. All of this running process also needs to be backed up on one drive too. The manager and I have come to the conclusion that an alias account is the only way to do this? Is this true?

Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,084 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Newbie Jones 1,251 Reputation points

    The script should be run from a "Service Account" and you shouldn't really need to see the running script if you are generating appropriate log files.

    I guess its all according to how the errors show if it locks up. If its errors in the script, then you should be able to capture this.

    Generate the log files in a central location so everyone can see them.

    If you want to go further, use a dashboard to view the log files and if setup and refreshed appropriately you should be able to see near real time results (and therefore know if its not running for any reason).

    If this script takes a long time, just write the start time and end time to another log file. If the end time isn't being written in an expected time frame, then someone needs to investigate.