Summary : Use Windows PowerShell to debug a script on a remote computer.
How can I use Windows PowerShell to debug a script on a remote computer?
Use the debugging features in the Windows PowerShell 4.0 console:
1. Use Enter-PSSession to start… Read the full text.