by chuckstaburnt at 2013-03-21 16:58:32
I do software QA and we’re constantly changing some of our servers around to be different versions of a component of our software. This leads to confusion about how a server is configured at any given time.by DonJ at 2013-03-23 09:30:07
So I made a basic PowerShell script that pulls all of this information from the xml config files and displays it in the window. What I want to do is make it run whenever anyone logs into the server and display to the user. I made a task in TasK Scheduler that is supposed to run the PS executable with the path to this file as an argument when trigger (any user logging in) occurs. This isn’t happening. If I run the task, it works, but if I log out and log back in, It does not seem to be running.
Any ideas? Is there another/better way?
Task Scheduler is probably running the task in the background. Check the task configuration - that’s normal Scheduler behavior, since it’s what you USUALLY want it to do.
You can also create a shortcut in the Startup folder of the all-user Start menu, and that’ll run at logon.