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.”