Powershell Tip : Parsing HTML from a local File or a String

INTRODUCTION : If you are familiar with Invoke-WebRequest cmdlet then you must be aware that you get a parsed HTML from the requested Web URL. DOM structure of this Parsed HTML could be utilized to get access to HTML elements of the web page, like in the below animation – PROBLEM : What if we have HTML files are locally… Read More Powershell Tip : Parsing HTML from a local File or a String

Powershell : Decompiling – Compiled HTML Help (.CHM) files and Data Wrangling

WHAT IS COMPILED HTML HELP (.CHM)? Microsoft Compiled HTML Help is a Microsoft proprietary online help format, consisting of a collection of HTML pages, an index and other navigation tools. The files are compressed and deployed in a binary format with the extension .CHM, for Compiled HTML. The format is often used for software documentation,… Read More Powershell : Decompiling – Compiled HTML Help (.CHM) files and Data Wrangling

PowerShell Tip : Extract Comments from Script

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 is about extracting all comments from a Powershell script,… Read More PowerShell Tip : Extract Comments from Script

Powershell Tip : Identify variables in the scripts open in Powershell ISE

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 concept, anything that is worth sharing. Leon is a great… Read More Powershell Tip : Identify variables in the scripts open in Powershell ISE