-
Notifications
You must be signed in to change notification settings - Fork 9
Clear-Host only when differences #4
Copy link
Copy link
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
I am using the watch-command module to track changes in catalog files. I've noticed that with the -ClearScreen parameter, the screen is cleared every time a comparison is made. And if the object being compared is not updated as fast as the wc-command comparison, the entire terminal is empty in the one loop where the object being compared has not changed.
So I would like to clear-host only when there is a change in the comparison, and then output the result.
I'm a beginner in powershell, so if you have any questions, feel free to ask, thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request