Selecting Objects by value in Powershell

If you are reading this you must have used Select-object in PowerShell to select properties of an object something like Or, Where-Object cmdlet to filter out values on any specific object property like All these work well when you know the Property Name you are searching. But what if you don’t know the property name and… Read More Selecting Objects by value in Powershell

Powershell : How to get Cricket Live Scores to Your Powershell Console

Well, Everyone checks Scores online, what about if we can get the scores or any kind of data that exist on a webpage in HTML format to our Powershell Console. Yes, It’s Possible – We can retrieve data from web pages to our shell and I’ll guide you how. First choose a website which displays and updates… Read More Powershell : How to get Cricket Live Scores to Your Powershell Console

8 Ways To Know The Uptime of a Windows Machine

Understanding when your machine was rebooted may assist you in troubleshooting better in case of any Abrupt shutdown or System Crash and in many other scenarios. You can achieve this with the following ways : 1. Use the Uptime utility in cmd prompt. Download it from this Link , extract and copy the uptime.exe to C:\Windows\System32 folder CMD > type ‘uptime’… Read More 8 Ways To Know The Uptime of a Windows Machine

Powershell : Quick Trick to Multi-Line Commenting and Un-Commenting in ISE

In Powershell Ver 3.0 and above you can comment and un-comment multiple lines in one go, using the below trick. Suppose you have a code and you want to comment all the lines of code starting from Line1 – Line12 like in the below example, obviously you can use Block commenting instead, In which you can… Read More Powershell : Quick Trick to Multi-Line Commenting and Un-Commenting in ISE