Remotely start batch/ps1 persistently

Is there a command to start a batch/ps1 file and have it run persistently while in remote connection? ​ I’m currently using the code below, but noticed that it doesn’t run it persistently in the server once the script finishes running. Invoke-Command -ComputerName ‘PC1’ -ScriptBlock {Start-Process -FilePath ‘D:ToolsTest.bat’ -Verb runAs -NoNewWindow} ​ submitted by /u/Toumusaur […]