fix multiple av detection

Signed-off-by: Simon Smith <simonsmith5521@gmail.com>

Simon Smith committed Oct 3, 2023 at 13:12 UTC 489f1aa57a45c1cc9b422d2c213d7691e89289ea
1 file changed +1 -1
agents/modules_meshcore/win-info.js
+1 -1
@@ -55,7 +55,7 @@ function av()
55 child.stdin.write('ForEach-Object -Process { ');
56 child.stdin.write('$Bytes = [System.Text.Encoding]::UTF8.GetBytes($_.displayName); ');
57 child.stdin.write('$EncodedText =[Convert]::ToBase64String($Bytes); ');
58 - child.stdin.write('Write-Host ("{0},{1}" -f $_.productState,$EncodedText); }\r\n');
58 + child.stdin.write('Write-Output ("{0},{1}" -f $_.productState,$EncodedText); }\r\n');
59 child.stdin.write('exit\r\n');
60 child.waitExit();
61