PowerShell: New-Object : Constructor not found. Cannot find an appropriate constructor for type
This blog post is here so that I don’t forget it in future.
I’ve been writing Powershell again all day today and I spent ages trying to find this error when instantiating a particular object.
Bottom line is that there was a valid constructor that took a single string argument. However, I was passing an empty string to the constructor. I won’t tell you what I really think about that error message. Let’s just leave it at The error message returned is interesting.
2025-08-26