Tag: Tip

Powershell

Plot Graph in Powershell console 

* Color-coded output depending upon the Value of the Datapoint; Above or below predefined thresholds
* Display custom information on X and Y-Axis labels
* A Graph in the console that is independent and fully customizable, not like Task Manager’s (no need to switch to Performance Tab) and,
* Could be easily used in any Powershell script to monitor performance on any defined parameter, which I see as the biggest benefit of the function.
* Function consumes data points, generated during script execution or Pre-stored data like from a file or database.

Powershell

PowerShell Select-Object by Value 

If you are reading this you must have used PowerShell Select-object in PowerShell to select properties of an object something like Or, Where-Object cmdlet to filter out values on any specific object property like All these work well when you know the Property Name you are searching….