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

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