mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-02-12 11:01:52 +00:00
fix multiple av detection
Signed-off-by: Simon Smith <simonsmith5521@gmail.com>
This commit is contained in:
parent
2d8c3cfc64
commit
489f1aa57a
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ function av()
|
||||||
child.stdin.write('ForEach-Object -Process { ');
|
child.stdin.write('ForEach-Object -Process { ');
|
||||||
child.stdin.write('$Bytes = [System.Text.Encoding]::UTF8.GetBytes($_.displayName); ');
|
child.stdin.write('$Bytes = [System.Text.Encoding]::UTF8.GetBytes($_.displayName); ');
|
||||||
child.stdin.write('$EncodedText =[Convert]::ToBase64String($Bytes); ');
|
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.stdin.write('exit\r\n');
|
||||||
child.waitExit();
|
child.waitExit();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue