PowerNix icon indicating copy to clipboard operation
PowerNix copied to clipboard

Commands that use Get-Content should expose -Wait, -Tail, -ReadCount, and -TotalCount

Open StartAutomating opened this issue 4 years ago • 0 comments

If a given command is based off of Get-Content (and the file content is likely to change), it should proxy the following parameters from Get-Content:

  • ReadCount
  • Tail
  • TotalCount
  • Wait

Additionally, any code that converts output to objects should "stream" output, rather than assign it to a temporary variable or an array.

Implementing these changes will increase the flexibility of the commands.

StartAutomating avatar Sep 16 '21 21:09 StartAutomating