Skip to content

New 3.0 version of PowerShell

JGA edited this page Oct 2, 2018 · 4 revisions

NOTE for those who migrate from old version: The reponse method isError is not working as before. Instead of telling if the command was sucessful, now it will only return false in case the command did not work at all (timeout or unexpected error). If you want to know the result of the command you should use the new method isLastCommandInError

New features

  • New implementation handling the console output that avoids thread blocking.
  • New implementation for timeout handling that avoids duplicates.
  • Add a new _executeCommandAndChain _method that allows to execute PowerShell commands in a fluent mode.
  • Improve performance thats to refactoring of reading methods.
  • Rewrite close method in order to avoid dangling processes.
  • The remote mode is no longer needed. Commands should work on remote as in local.
  • New method isLastCommandInError that checks if last command finished in error.

Fixed bugs

  • NotAvailableException was not correctly handled.
  • Fix dangling processes when closing when the command is not yet finished.
  • Many stability issues fixed.
Clone this wiki locally