Is some user logged on to the desktop?
I can't help you with SCCM, but in this question I demonstrated how to use the task scheduler to run one script as the system account and communicate with a second script that runs in the user context.
In your case, SCCM would run the server.ps1 script as the system account. It would define and run a scheduled task that executes as the user (schtasks /ru interactive). That would require that someone is logged on to the desktop.
For that question, the author wanted to delay the processing that the system account performed, until the desktop user "clicked on ok". The 2 scripts "talk" to each other by creating files in a temp folder.
If the SCCM experts can't offer an SCCM solution, you may be able to use this technique to accomplish the system/user processing split.