How to run PS1 scripts by anyone in the server

Hi All,

I have a Health check script and if someone from my team RDP into server they also should run the script and there are few functions in the script which also need to be called from script without any issues. Can someone please tell me how we can do it.

Prashanth Akku,
Welcome to the forum. :wave:t3:

That’s actually not a PowerShell question. :wink:

How about using a logon script or a scheduled task triggered by logon? :man_shrugging:t3:

Regardless of that you may share a little more detailed information about your script and your functions. There might be a better way.