PowerNix
PowerNix copied to clipboard
Commands that use Get-Content should expose -Wait, -Tail, -ReadCount, and -TotalCount
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.