What do you have in env:script?
Is that an environment variable holding the location of a central script repository, accessible from each station?
Or is the script CustomRestart.ps1 copied to each station?
What do you have in env:script?
Is that an environment variable holding the location of a central script repository, accessible from each station?
Or is the script CustomRestart.ps1 copied to each station?