Default timout value for session created New-PSSession cmdlet RRS feed

  • Question

  • Hi All,

    In my c# application, I am starting a new ps session using New-PSSession cmdlet. I am not setting any default timeout value. I think it is set using New-PSSessionOption, is it correct?

    If I do not set any value for timeout, what would be the default value?

    Also, if session expires after this timeout, what should I do? Should I create another session using New-PSSession or can I somehow re-use it.

    please help.



    • Edited by user5796 Saturday, October 27, 2012 7:52 AM
    Saturday, October 27, 2012 7:52 AM