ThePoShWolf / Utilities

Utility scripts that I've written
MIT License
96 stars 20 forks source link

Method invocation failed because .. #5

Open chrish13 opened 2 years ago

chrish13 commented 2 years ago

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.

ThePoShWolf commented 1 year ago

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?