PowerShell:- List – Sorting

Background Imagine it is mother's day and we need to fetch our Mother of the Church. Yes, just do a simple select against your congregation table. But, was exploring something similar in PowerShell. Here is what our code line looks like.   Script   Outline Class Create a simple class structure In our case we … Continue reading PowerShell:- List – Sorting

Powershell – Error – “The property …. cannot be found on this object. Verify that the property exists.”

Background Playing around with Powershell and ran into an error that one should avoid through defensive programming. Error Error - Image Error - Text Outline We will create a few standalone objects using PSCustomObject Add created objects into an array Iterate through the array Access each object Retrieve property Because our object's properties are created … Continue reading Powershell – Error – “The property …. cannot be found on this object. Verify that the property exists.”