This should provide a simple way to debug the scriptblock on the remotemachine.
This should provide a simple way to debug the scriptblock on the remotemachine.