mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-12-27 23:55:54 -05:00
fix multiple av detection
Signed-off-by: Simon Smith <simonsmith5521@gmail.com>
This commit is contained in:
parent
2d8c3cfc64
commit
489f1aa57a
@ -55,7 +55,7 @@ function av()
|
||||
child.stdin.write('ForEach-Object -Process { ');
|
||||
child.stdin.write('$Bytes = [System.Text.Encoding]::UTF8.GetBytes($_.displayName); ');
|
||||
child.stdin.write('$EncodedText =[Convert]::ToBase64String($Bytes); ');
|
||||
child.stdin.write('Write-Host ("{0},{1}" -f $_.productState,$EncodedText); }\r\n');
|
||||
child.stdin.write('Write-Output ("{0},{1}" -f $_.productState,$EncodedText); }\r\n');
|
||||
child.stdin.write('exit\r\n');
|
||||
child.waitExit();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user