Техническая информация
- '%WINDIR%\syswow64\windowspowershell\v1.0\powershell.exe' -Command "Add-MpPreference -ExclusionPath \"%ALLUSERSPROFILE%\MyFolder\""
- '%WINDIR%\syswow64\windowspowershell\v1.0\powershell.exe' -Command "Add-MpPreference -ExclusionPath \"%WINDIR%\SysWOW64\regsvr32.exe\""
- %ALLUSERSPROFILE%\myfolder\myfolder.bat
- '%WINDIR%\syswow64\windowspowershell\v1.0\powershell.exe' -Command "Get-MpComputerStatus | Select-Object -ExpandProperty RealTimeProtectionEnabled" (со скрытым окном)
- '%WINDIR%\syswow64\windowspowershell\v1.0\powershell.exe' -Command "Add-MpPreference -ExclusionPath \"%ALLUSERSPROFILE%\MyFolder\"" (со скрытым окном)
- '%WINDIR%\syswow64\windowspowershell\v1.0\powershell.exe' -Command "Add-MpPreference -ExclusionPath \"%WINDIR%\SysWOW64\regsvr32.exe\"" (со скрытым окном)