Quantcast
Channel: SAPIEN Forums
Viewing all articles
Browse latest Browse all 546

PowerShell • Re: does not contain a method named 'op_Addition'

$
0
0
The issue arises because in some contexts, $locked = @() creates an empty array, and PowerShell expects op_Addition to append results to it. This works fine in the standard console but behaves differently in PowerShell Studio, likely due to the execution environment interpreting the variable differently.

Statistics: Posted by obnoxiousadult — Sun Dec 01, 2024 10:46 pm



Viewing all articles
Browse latest Browse all 546

Trending Articles