3 ways to Store & Display results in/from a Powershell variable at the same time

In order to write less code or to write better one-liners in Powershell, I often find one of these techniques useful, and let me know if you feel the same. Using -OutVariable parameter Variable squeezing Its a shame many of us ( including myself 😉 ) were not aware of this for quite long. Using Tee-Object Cmdlet… Read More 3 ways to Store & Display results in/from a Powershell variable at the same time

Command discovery in Powerhell with $Env:Path

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 console throws errors, but When I launch Notepad it just works… Read More Command discovery in Powerhell with $Env:Path

Highlighting words in a Text content or Files in Powershell console

INTRODUCTION :  Hello guys, Today’s blog post is about a quick Function to Highlight a word or a group of words in a content and displaying it on the Powershell console in a visually pleasing way. It can be used for Tracing instances  of words from a log file, highlighting them and grouping same words… Read More Highlighting words in a Text content or Files in Powershell console

Get-Summary : Algorithm in Powershell to summarize Text, Document(s) within a word limit.

INTRODUCTION :  This is a PowerShell script to summarize long text document(s) depending upon your chosen word limit, it utilizes an algorithm which looks for parameters like Important words and Common content to score each sentence in order to generate a summary of the highest scored sentences in sequence of there occurrence in the content. HOW… Read More Get-Summary : Algorithm in Powershell to summarize Text, Document(s) within a word limit.