When using PowerShell to try modifying web parts on a site page (SP 2013/2016), all web parts (CEWP, CQWP, List, etc...) read as ErrorWebPart. I read some really dated posts on this issue, but never found a good solution for PowerShell. I also read that I may not be able to do this in PowerShell, and I may have to do this with an OM custom solution? All I need to do is change the list a CQWP is pointing to, but I have hundreds of sites I need to perform this change on.