|
|
@ -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 |
|
|
|
|
|
|
|
|
|