Utilities icon indicating copy to clipboard operation
Utilities copied to clipboard

Method invocation failed because ..

Open chrish13 opened this issue 2 years ago • 1 comments

Hello !! I tried your script and it was failing on my end under PowerShell v.4, v.5, and PowerShell core 7+ The error was the following: Method invocation failed because [System.Management.Automation.PSObject] does not contain a method named 'op_Addition'. What I did to resolve it was replace the "+=" with just "=". Is this something that I am not doing right? Is this something that you know about it. By doing the above correction I am getting results, however I am not getting all the disconnected users.

chrish13 avatar Jun 10 '22 03:06 chrish13

Hi @chrish13 - I just discovered that I don't have notifications set up for this repository, so I am very sorry for missing this when you posted it.

Which script was failing for you?

ThePoShWolf avatar Jan 27 '23 03:01 ThePoShWolf