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.
Get MAC Vendor using PowerShell
Introduction to ‘Get MAC Vendor using PowerShell’: Yesterday while troubleshooting a network issue, I realized that if I can know the vendor of a MAC Address, then I could understand if it’s a Dell Router, a VMWare virtual NIC or a Dell server then maybe…
PowerShell Abstract Syntax Tree and Tokens
Introduction A few days ago in a discussion on Facebook’s PowerShell Group, I realized the many people don’t understand how to Tokenize or Use PowerShell Abstract Syntax Tree to understand your PowerShell scripts better. I think the reason behind this unawareness is mostly because it doesn’t…
URL Encode and Decode with PowerShell
Changing a URL candidate to valid ASCII format is called URL Encoding and can be done like in the below image using System.Web.HttpUtility class in .Net framework. You can also perform its reverse which is call URL Decoding.
Query Port Information using Powershell
Have you ever googled a port number to figure out what service uses it? I think every system administrator must have done this. But what if there are a lot of port to search?
So I thought giving it try with PowerShell if we can use the shell to pro-grammatical get port information of lots of port numbers.
Escape Special Characters using [RegEx] in PowerShell
Here is a quick tip to escape all special characters in a string using the .Net Type accelerator for Regular expression [RegEx]
Powershell Auto Mute, when headphones are accidentally unplugged
Do you know mobile phones have an inbuilt feature to Auto mute a playing song/music, if by mistake you plug out your earphones from the jack, that prevents your phone to keep playing the music on speakers, which could be quite embarrassing in some surroundings and situations, but unfortunately we don’t have such a feature available on our desktops/laptops 🙁
And I was victim of such an embarrassing situation a few days back, So I thought why not to look for a solution available to fix this for me? Really I didn’t care much about finding one but was more interested in making one with Powershell! 🙂
Powershell Tip : Parsing HTML from a local File or a String
INTRODUCTION to Parsing HTML : If you are familiar with PowerShell Invoke-WebRequest cmdlet then you must be aware that you get a parsed HTML from the requested Web URL. DOM structure of the web page is utilized to get access to HTML elements of the web page or Parsing HTML, like in…
Categories
Author of Books
Awards
Open Sourced Projects
Author at
Blog Roll
Mike F RobbinsDamien Van Robaeys
Stéphane van Gulick
Kevin Marquette
Adam Bertram
Stephanos Constantinou
Francois-Xavier Cat
Ravikanth Chaganti
Roman Levchenko
Blog Stats
- 1,131,840 People Reached