Integrate timeout on Powershell command? RRS feed

  • Question

  • Hi,

    I have this command to an RDS-broker which makes my Powershell lock completely. The broker has some issues and that's the root cause of this (it is reachable so a test-connection is useless). There doesn't seem to be a timeout on the command buit-in so I'd like to throw an error after f.e. 5 minutes.

    Please advise howto approach.

    Jan Hoedt

    Friday, August 5, 2016 1:26 PM


  • Post in RDS forum.

    You can also run the command as a job and terminate the job after five minutes.


    • Marked as answer by janhoedt Wednesday, August 10, 2016 11:25 AM
    Friday, August 5, 2016 1:30 PM