Today I Learned: -ErrorAction Ignore
Hi Guys, this is a quick blog post on something that I learned today on PowerShell. Ashamed to say this… but I have never used -ErrorAction Ignore before, until today when I realized that one of the old scripts written by a colleague started to…
3 ways to store and display PowerShell Variable simultaneously
Video Tutorial In order to write less code or to write better one-liners in Powershell, I often find one of these PowerShell Variable assignment techniques useful, and let me know if you feel the same. Using -OutVariable parameter Get-Process a* -OutVariable process PowerShell Variable squeezing Its…
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]
Extract PowerShell Comments
Hello Reader! To Review and understand scripts written by another developer, I often find Comments helpful. PURPOSE I was looking for a way through which we can extract all comments. Just to get a skeleton view of script’s functionalities documented by the programmer. Saves me some time! So today’s tip…
PowerShell Enum for Parameter Validation
An Enum type is a data type that enables a variable to be a set of predefined constants. The variable must be equal to one of the values that have been predefined for it. PowerShell Enum’s can be more descriptive rather using just a number….
Identify PowerShell variables in Scripts using Parser
Inspired by “Leon Bambrick” blog, I’ve decided to start a Category on my blog wherein I’ll be posting small stuff that I learn that never get a chance to land up on a blog post. It can be a Tip, single line of code or…
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,729 People Reached