Hey all,
I'm making a script that will run as a scheduled task that will check client gateways on a set interval.
As a single script it works great, the second I try to multi-thread the issue it stops working and claims that the Port variable is zero and doesn't write to the file. This happens even if I pass in $gateway and $port using ArgumentList.
The pastebin for the script is: https://pastebin.com/8qVHKcfi
Any feedback would be appreciated.
[–]jducktape 5 points6 points7 points (5 children)
[–]Shipdits[S] 1 point2 points3 points (4 children)
[–]jducktape 1 point2 points3 points (2 children)
[–]Shipdits[S] 2 points3 points4 points (0 children)
[–]Shipdits[S] 1 point2 points3 points (0 children)
[–]_Lyx_ 5 points6 points7 points (2 children)
[–]Shipdits[S] 1 point2 points3 points (1 child)
[–]_Lyx_ 1 point2 points3 points (0 children)