PowerShell: Tokenization and Abstract Syntax Tree

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 Abstract Syntax Tree to understand your PowerShell scripts better. I think the reason behind this unawareness is mostly because it doesn’t affect your ability to write better scripts, but you’ve to agree it… Read More PowerShell: Tokenization and Abstract Syntax Tree

Powershell Auto Mute, when headphones are accidently 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! :)… Read More Powershell Auto Mute, when headphones are accidently unplugged.

Pumping Reddit user trend to AWS CloudWatch with Powershell

This blog post is in continuation of my last blog post Capturing & Analyzing online users Trend on Reddit with Powershell . According to the advice from one of the best IT pros I know – Trevor Sullivan (Twitter handle @PCGeek) who suggested me to pump all the data points script captures from Reddit’s Powershell Community page to AWS Cloud Watch, I decided to give it a shot.

Just to give you an idea AWS CloudWatch is Amazon Monitoring service and it can do much more than just plotting graphs using the data points you send to the cloud. You can use Amazon CloudWatch to collect and track metrics, collect and monitor log files, set alarms, and automatically react to changes in your resources.… Read More Pumping Reddit user trend to AWS CloudWatch with Powershell