Scripts that run within Universal run within background processes or runspaces which may make it hard to debug what is happening within a script. You can use cmdlets like Write-Debug and Write-Verbose ...
This shows us which file the script is looking for, what command is being run, what message is being sent and who should be receiving the message that is being sent. By interpreting each of your ...