Browse Source

Update Sophia.yml

pull/694/head
Dmitry Nefedov 3 months ago
parent
commit
f273d4bc59
  1. 3
      .github/workflows/Sophia.yml

3
.github/workflows/Sophia.yml

@ -74,7 +74,8 @@ jobs:
# Update Defender definitions # Update Defender definitions
& "$DefenderPath\MpCmdRun.exe" -SignatureUpdate -Verbose & "$DefenderPath\MpCmdRun.exe" -SignatureUpdate -Verbose
# Start scan # Start scan
& "$DefenderPath\MpCmdRun.exe" -Scan -ScanType 3 -DisableRemediation -File Sophia_Script | ForEach-Object {Write-Verbose -Message $_ -Verbose} # We need to use absolute path
& "$DefenderPath\MpCmdRun.exe" -Scan -ScanType 3 -DisableRemediation -File $((Get-Item -Path Sophia_Script).FullName) | ForEach-Object {Write-Verbose -Message $_ -Verbose}
Get-Content -Path $env:TEMP\MpCmdRun.log Get-Content -Path $env:TEMP\MpCmdRun.log

Loading…
Cancel
Save