Monitor and highlight log files w/PowerShell

Write-HostHighlight The Write-HostHighlight function from my PowerShell MS-Module module can receive any string(s) and highlight within it a substring. Let see a simple example. By default the search is case insensitive, but you can easy change it by specifying the -CaseSensitive switch. If an input string does not contain a substring, the Write-HostHighlight just writes … Continue reading Monitor and highlight log files w/PowerShell

Put PowerShell scripts to sleep with Progress Bar

All of you know very well the embedded PowerShell cmdlet Start-Sleep, which able to put a script to the sleep for a certain period measured in seconds or milliseconds. This is great, but not enough. Start-SleepProgress The Start-SleepProgress function from my PowerShell MS-Module module has some enhancements compared to the usual Start-Sleep cmdlet. First of … Continue reading Put PowerShell scripts to sleep with Progress Bar

How to create colored and adjustable Percentage Bar in the PowerShell

In one of the scripts on GitHub I found interesting function Show-PercentageGraph, written by vmdude (Frederic MARTIN). I decided on basis of this function to develop my own more robust and adjustable function. I introduce to you the function New-PercentageBar that is part of MS-Module from my PowerShell repository. New-PercentageBar One of the powerful features … Continue reading How to create colored and adjustable Percentage Bar in the PowerShell