I am getting this error as I try to follow the steps outline in the tutorial. Please refer to attachment as well.
---------------------------------------------------------------------------------------------
Method invocation failed because [Selected.System.Management.Automation.PSCustomObject] does not contain a method
named 'Where'.
At
\Cloud\OneDrive\Athena\My Financial Records\PortfolioSlicer
v3\PortfolioSlicerDDMScriptsV3_20241003\Scripts\psCheckFiles.ps1:309 char:8
+ if($accountList.Where({$_.Account -eq $s.Account}).count -eq 0) {
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (Where:String) [], RuntimeException
+ FullyQualifiedErrorId : MethodNotFound
----------------------------------------------------------------------------------------------
Comments
Can you please confirm that you have just a single account record? If so, you need to add another account record and try again.