PowerShell Environment Path and Command discovery
I often see people wondering that some commands/applications launch from Windows Run (Windows Key+R) but when I try them in PowerShell console it throws an error, I know this gets frustrating at times. For example, when I try to run commands like Excel or WinWord my PowerShell…
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! 🙂
Send WordPress posts to Twitter using PowerShell
How about if I can automate sharing Mulitple Random blog posts to twitter, few times a day, without even investing the time I would’ve actually spent doing that manually. Sounds great, right? ( Well, to me 🙂 )
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.
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,132,337 People Reached